1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 20:05:07 +00:00

Hopefully fixes problems with non-working vobsubs.

Applied so it gets some testing before release.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14189 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-12-19 16:59:39 +00:00
parent dd4fadb7c0
commit 5506de26eb

View File

@ -1801,7 +1801,9 @@ if(!sh_video && !sh_audio){
demux_info_print(demuxer);
//================== Read SUBTITLES (DVD & TEXT) ==========================
if(vo_spudec==NULL && sh_video && (stream->type==STREAMTYPE_DVD || demuxer->type==DEMUXER_TYPE_MATROSKA)){
if(vo_spudec==NULL && sh_video &&
(stream->type==STREAMTYPE_DVD || demuxer->type==DEMUXER_TYPE_MATROSKA ||
d_dvdsub->id >= 0)){
if (spudec_ifo) {
unsigned int palette[16], width, height;