mirror of https://github.com/mpv-player/mpv
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:
parent
4205c1a8b7
commit
da2d2bd84a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue