Make sure to reset the seek point in mkv.

This commit is contained in:
Damiano Galassi committed 2019-03-07 15:40:59 +01:00
1 parent ead30edb73
commit 97e9323e6e
1 file changed
+4
+4
View File
@@ -723,6 +723,8 @@ static NSString * TrackNameToString(TrackInfo *track)
free(frame);
}
mkv_Seek(_matroskaFile, 0, 0);
}
else if (!strcmp(trackInfo->CodecID, "A_EAC3")) {
@@ -799,6 +801,8 @@ static NSString * TrackNameToString(TrackInfo *track)
}
}
mkv_Seek(_matroskaFile, 0, 0);
if (context && context->ec3_extension_type == EC3Extension_JOC)
{
track.extensionType = kMP42AudioEmbeddedExtension_JOC;