mirror of https://github.com/mpv-player/mpv
Remove superfluous demuxer->type==DEMUXER_TYPE_MATROSKA check,
d_dvdsub->id >= 0 is enough in for this case, too. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21077 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
dbbe73116c
commit
8e56fda7d4
|
@ -4236,8 +4236,7 @@ demux_info_print(demuxer);
|
||||||
|
|
||||||
//================== Read SUBTITLES (DVD & TEXT) ==========================
|
//================== Read SUBTITLES (DVD & TEXT) ==========================
|
||||||
if(vo_spudec==NULL && sh_video &&
|
if(vo_spudec==NULL && sh_video &&
|
||||||
(stream->type==STREAMTYPE_DVD || demuxer->type==DEMUXER_TYPE_MATROSKA ||
|
(stream->type==STREAMTYPE_DVD || d_dvdsub->id >= 0)){
|
||||||
d_dvdsub->id >= 0)){
|
|
||||||
|
|
||||||
if (spudec_ifo) {
|
if (spudec_ifo) {
|
||||||
unsigned int palette[16], width, height;
|
unsigned int palette[16], width, height;
|
||||||
|
|
Loading…
Reference in New Issue