1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00

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
This commit is contained in:
cehoyos 2009-11-07 12:55:07 +00:00
parent 423c415534
commit 419e4f684a

View File

@ -383,6 +383,8 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i) {
type = 'a'; type = 'a';
else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE) else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE)
type = 'v'; type = 'v';
else if(codec->codec_id == CODEC_ID_DVB_TELETEXT)
type = 'd';
else else
break; break;
sh_sub = new_sh_sub_sid(demuxer, i, priv->sub_streams); sh_sub = new_sh_sub_sid(demuxer, i, priv->sub_streams);