changeset 25879:7b82d835bed1

Support CODEC_ID_MOV_TEXT
author reimar
date Mon, 28 Jan 2008 18:29:26 +0000
parents 05cde5afd1d8
children 4df11ac927fc
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Mon Jan 28 18:28:17 2008 +0000
+++ b/libmpdemux/demux_lavf.c	Mon Jan 28 18:29:26 2008 +0000
@@ -411,6 +411,8 @@
             /* only support text subtitles for now */
             if(codec->codec_id == CODEC_ID_TEXT)
                 type = 't';
+            else if(codec->codec_id == CODEC_ID_MOV_TEXT)
+                type = 'm';
             else if(codec->codec_id == CODEC_ID_SSA)
                 type = 'a';
             else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE)