[Ffmpeg-cvslog] r7032 - trunk/libavformat/mov.c

bcoudurier subversion
Tue Nov 14 02:05:31 CET 2006


Author: bcoudurier
Date: Tue Nov 14 02:05:31 2006
New Revision: 7032

Modified:
   trunk/libavformat/mov.c

Log:
partial support for vobsub in mp4, used by nero, unsupported-embedded-subs-2.mp4

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Tue Nov 14 02:05:31 2006
@@ -414,6 +414,10 @@
         st->codec->codec_type = CODEC_TYPE_AUDIO;
     else if(type == MKTAG('m', '1', 'a', ' '))
         st->codec->codec_id = CODEC_ID_MP2;
+    else if(type == MKTAG('s', 'u', 'b', 'p')) {
+        st->codec->codec_type = CODEC_TYPE_SUBTITLE;
+        st->codec->codec_id = CODEC_ID_DVD_SUBTITLE;
+    }
     get_be32(pb); /* component  manufacture */
     get_be32(pb); /* component flags */
     get_be32(pb); /* component flags mask */




More information about the ffmpeg-cvslog mailing list