diff isom.c @ 2969:f3a3115a96e4 libavformat

Set correct codec type and id for text subtitles. fixes http://samples.mplayerhq.hu/mov/subtitles-embedded/subtitlemovie.mov closes issue341
author michael
date Sat, 26 Jan 2008 20:30:03 +0000
parents d016b354f1d1
children 45ffd9c8b23a
line wrap: on
line diff
--- a/isom.c	Sat Jan 26 20:07:57 2008 +0000
+++ b/isom.c	Sat Jan 26 20:30:03 2008 +0000
@@ -167,6 +167,11 @@
     { CODEC_ID_NONE, 0 },
 };
 
+const AVCodecTag ff_codec_movsubtitle_tags[] = {
+    { CODEC_ID_TEXT, MKTAG('t', 'e', 'x', 't') },
+    { CODEC_ID_NONE, 0 },
+};
+
 /* map numeric codes from mdhd atom to ISO 639 */
 /* cf. QTFileFormat.pdf p253, qtff.pdf p205 */
 /* http://developer.apple.com/documentation/mac/Text/Text-368.html */