mirror of https://github.com/mpv-player/mpv
make 'your system is too slow' appear only once
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11255 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c42aba576c
commit
39f8fbff6f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue