diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-07 12:55:07 +0000 |
---|---|---|
committer | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-07 12:55:07 +0000 |
commit | 419e4f684af2a885804f54f403b41d9761e1052f (patch) | |
tree | 36559fc465e33e4b7a55d56aff4939a330c6070f /libmpdemux | |
parent | 423c415534f7393c07247b87ab4d95f6d0635474 (diff) | |
download | mpv-419e4f684af2a885804f54f403b41d9761e1052f.tar.bz2 mpv-419e4f684af2a885804f54f403b41d9761e1052f.tar.xz |
Allow demuxer lavf to export CODEC_ID_DVB_TELETEXT.
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29849 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-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 5609c2840a..d954378295 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -383,6 +383,8 @@ 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_DVB_TELETEXT) + type = 'd'; else break; sh_sub = new_sh_sub_sid(demuxer, i, priv->sub_streams); |