[MPlayer-cvslog] r22252 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sat Feb 17 22:12:28 CET 2007


Author: reimar
Date: Sat Feb 17 22:12:27 2007
New Revision: 22252

Modified:
   trunk/mplayer.c

Log:
Make sure that -sid works even if the number of subtitles initially detected
by the demuxer is smaller. Should improve a bit problems with non-selectable
DVD/VOB subtitles.


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sat Feb 17 22:12:27 2007
@@ -4252,6 +4252,7 @@
     if (demuxer->s_streams[i])
       global_sub_size++;
 }
+if (global_sub_size <= dvdsub_id) global_sub_size = dvdsub_id + 1;
 
 current_module="demux_open2";
 



More information about the MPlayer-cvslog mailing list