elan
unread,Jan 9, 2008, 6:51:39 PM1/9/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perian discussion
Annoyed that movies with subtitles go black? Apply the following patch
and rebuild. You won't get any subtitles, but more importantly, you'll
actually get video. For everything except foreign films, this helps
greatly :-)
===================================================================
--- MatroskaImportPrivate.cpp (revision 759)
+++ MatroskaImportPrivate.cpp (working copy)
@@ -608,7 +608,7 @@
emptyDataRefExtension[1] =
EndianU32_NtoB(kDataRefExtensionInitializationData);
PtrAndHand(&emptyDataRefExtension[0], mkvTrack.subDataRefHandler,
sizeof(emptyDataRefExtension));
-
+#if 0
mkvTrack.theTrack = CreatePlaintextSubTrack(theMovie, imgDesc,
GetMovieTimeScale(theMovie), mkvTrack.subDataRefHandler,
HandleDataHandlerSubType, (*imgDesc)->cType, NULL, movieBox);
if (mkvTrack.theTrack == NULL)
return GetMoviesError();
@@ -618,8 +618,9 @@
MediaSetGraphicsMode(mh, graphicsModePreBlackAlpha, NULL);
BeginMediaEdits(mkvTrack.theMedia);
mkvTrack.is_vobsub = false;
+#endif
} else {
Codecprintf(NULL, "MKV: Unsupported subtitle type\n");
return noErr;