Mercurial > mplayer.hg
diff mplayer.c @ 11254:f42b8a99a5e0
make 'your system is too slow' appear only once
author | iive |
---|---|
date | Thu, 23 Oct 2003 22:44:25 +0000 |
parents | e237083ad025 |
children | 7edd5436337d |
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); }