changeset 11254:f42b8a99a5e0

make 'your system is too slow' appear only once
author iive
date Thu, 23 Oct 2003 22:44:25 +0000
parents 9f7a1fd8a81c
children efa6316ad877
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Oct 23 22:09:26 2003 +0000
+++ b/mplayer.c	Thu Oct 23 22:44:25 2003 +0000
@@ -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);
 	}