[MPlayer-dev-eng] [PATCH] vobsub regression fix?

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Dec 18 20:25:14 CET 2004


Hi,
the attached patch seems to fix it for me (tested on
TITLE01-ANGLE2.VOB). No idea what else it changes.

Greetings,
Reimar Döffinger
-------------- next part --------------
--- mplayer.c	2004-12-18 20:15:42.823012665 +0100
+++ mplayer.c	2004-12-18 20:22:48.326681778 +0100
@@ -1809,7 +1809,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;


More information about the MPlayer-dev-eng mailing list