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

ulion subversion at mplayerhq.hu
Tue Dec 18 04:33:36 CET 2007


Author: ulion
Date: Tue Dec 18 04:33:36 2007
New Revision: 25444

Log:
Do not operate on vobsub when no video (Bug #312).


Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Tue Dec 18 04:33:36 2007
@@ -2272,7 +2272,7 @@ static int seek(MPContext *mpctx, double
 	mpctx->sh_audio->a_out_buffer_len = 0;
     }
 
-    if (vo_vobsub) {
+    if (vo_vobsub && mpctx->sh_video) {
 	current_module = "seek_vobsub_reset";
 	vobsub_seek(vo_vobsub, mpctx->sh_video->pts);
     }



More information about the MPlayer-cvslog mailing list