[Mplayer-cvslog] CVS: main mplayer.c,1.766,1.767

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon Aug 9 20:06:11 CEST 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv9159

Modified Files:
	mplayer.c 
Log Message:
Don't drop frames when paused, fixes not displaying the pause OSD icon
when paused, patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>,
approved by Attila.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.766
retrieving revision 1.767
diff -u -r1.766 -r1.767
--- mplayer.c	4 Aug 2004 15:48:42 -0000	1.766
+++ mplayer.c	9 Aug 2004 18:06:08 -0000	1.767
@@ -2100,7 +2100,7 @@
 	    float d=delay-sh_audio->delay;
 	    // we should avoid dropping to many frames in sequence unless we
 	    // are too late. and we allow 100ms A-V delay here:
-	    if(d<-dropped_frames*frame_time-0.100){
+	    if(d<-dropped_frames*frame_time-0.100 && osd_function != OSD_PAUSE){
 		drop_frame=frame_dropping;
 		++drop_frame_cnt;
 		++dropped_frames;




More information about the MPlayer-cvslog mailing list