diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-28 18:29:26 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-28 18:29:26 +0000 |
commit | 194517d82a6dd41b8e7363c0a07007919959b09b (patch) | |
tree | 732f269e720ceebc08f0a782965690d79cca9e04 | |
parent | 69cbd37807f3fea987fd78743d55dcd4f750bd97 (diff) | |
download | mpv-194517d82a6dd41b8e7363c0a07007919959b09b.tar.bz2 mpv-194517d82a6dd41b8e7363c0a07007919959b09b.tar.xz |
Support CODEC_ID_MOV_TEXT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25907 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_lavf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index eb572563ba..e85315c9e7 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -411,6 +411,8 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i) { /* 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) |