# HG changeset patch # User reimar # Date 1103475579 0 # Node ID 0180a7f96197a2c4ac4b481a597ddb77154a76cd # Parent 19589e978000a86b11bd023e09002e424df505e1 Hopefully fixes problems with non-working vobsubs. Applied so it gets some testing before release. diff -r 19589e978000 -r 0180a7f96197 mplayer.c --- a/mplayer.c Sun Dec 19 16:53:26 2004 +0000 +++ b/mplayer.c Sun Dec 19 16:59:39 2004 +0000 @@ -1801,7 +1801,9 @@ 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;