# HG changeset patch # User iive # Date 1066949065 0 # Node ID f42b8a99a5e08bcba660a441108df3bb1d3d244f # Parent 9f7a1fd8a81c915088df61af4239ecfd387166b9 make 'your system is too slow' appear only once diff -r 9f7a1fd8a81c -r f42b8a99a5e0 mplayer.c --- 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); }