Partially support vobsub subtitles from lavf demuxers (palette support missing)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25867 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-26 21:17:08 +00:00
parent 4205c1a8b7
commit da2d2bd84a
1 changed files with 2 additions and 0 deletions

View File

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