diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-11 09:04:29 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:43 +0200 |
commit | 9e537d1f6e90c4aca4778e47c082367639df28ca (patch) | |
tree | 27b4ea29765f9ad1836ba2cd9c63d67d863aea88 /libmpdemux/demux_lavf.c | |
parent | 3b92d754814e1e3db98192d6fbd29df1a73ed7ff (diff) | |
download | mpv-9e537d1f6e90c4aca4778e47c082367639df28ca.tar.bz2 mpv-9e537d1f6e90c4aca4778e47c082367639df28ca.tar.xz |
subs: Add support for DVB and XSUB subtitles, not yet working properly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31694 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_lavf.c')
-rw-r--r-- | libmpdemux/demux_lavf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index f94770fe3c..cecf5589de 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -425,6 +425,10 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i) { type = 'a'; else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE) type = 'v'; + else if(codec->codec_id == CODEC_ID_XSUB) + type = 'x'; + else if(codec->codec_id == CODEC_ID_DVB_SUBTITLE) + type = 'b'; else if(codec->codec_id == CODEC_ID_DVB_TELETEXT) type = 'd'; else if(codec->codec_id == CODEC_ID_HDMV_PGS_SUBTITLE) |