[Mplayer-cvslog] CVS: main mplayer.c,1.341,1.342

Zoltan Ponekker pontscho at mplayer.dev.hu
Mon Dec 17 17:05:38 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv12893

Modified Files:
	mplayer.c 
Log Message:
kurva sub fix.

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.341
retrieving revision 1.342
diff -u -r1.341 -r1.342
--- mplayer.c	17 Dec 2001 14:19:36 -0000	1.341
+++ mplayer.c	17 Dec 2001 16:05:36 -0000	1.342
@@ -663,10 +663,13 @@
 	usleep(20000);
 	EventHandling();
       }
-      
+
 #ifdef USE_SUB
       if ( mplShMem->SubtitleChanged || !mplShMem->FilenameChanged )
-       { sub_name=mplShMem->Subtitlename; mplShMem->SubtitleChanged=0; }
+       {
+        if ( mplShMem->Subtitlename[0] != 0 ) sub_name=mplShMem->Subtitlename;
+        mplShMem->SubtitleChanged=0;
+       }
 #endif
 
       if ( mplShMem->FilenameChanged || !filename )




More information about the MPlayer-cvslog mailing list