[Mplayer-cvslog] CVS: main mplayer.c,1.733,1.734

Ivan Kalvachev CVS iive at mplayerhq.hu
Fri Oct 24 00:44:59 CEST 2003


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

Modified Files:
	mplayer.c 
Log Message:
make 'your system is too slow' appear only once

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.733
retrieving revision 1.734
diff -u -r1.733 -r1.734
--- mplayer.c	22 Oct 2003 22:58:42 -0000	1.733
+++ mplayer.c	23 Oct 2003 22:44:25 -0000	1.734
@@ -2333,7 +2333,7 @@
 	static int drop_message=0;
         float x;
 	AV_delay=(a_pts-delay-audio_delay)-v_pts;
-	if(AV_delay>0.5 && drop_frame_cnt>50+drop_message*250){
+	if(AV_delay>0.5 && drop_frame_cnt>50 && drop_message==0){
 	  ++drop_message;
 	  mp_msg(MSGT_AVSYNC,MSGL_WARN,MSGTR_SystemTooSlow);
 	}



More information about the MPlayer-cvslog mailing list