summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-23 22:44:25 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-23 22:44:25 +0000
commit39f8fbff6f60d67eb022f22278a9f55671c2cd9d (patch)
tree9ec6df86b1c2c89a2e5c5a003545356cb18bff23 /mplayer.c
parentc42aba576c028569359851b3d82d32fa8d594848 (diff)
downloadmpv-39f8fbff6f60d67eb022f22278a9f55671c2cd9d.tar.bz2
mpv-39f8fbff6f60d67eb022f22278a9f55671c2cd9d.tar.xz
make 'your system is too slow' appear only once
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11255 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 1934fe0a72..07098f8ecd 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2333,7 +2333,7 @@ if(time_frame>0.001 && !(vo_flags&256)){
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);
}