mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
remove the lower boundary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9610 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
831c672512
commit
79102684ed
@ -1328,8 +1328,7 @@ static void *video_grabber(void *data)
|
||||
// correct the rate fluctuations on a small scale
|
||||
orig_interval = interval;
|
||||
period = priv->video_interval_sum/VIDEO_AVG_BUFFER_SIZE;
|
||||
if ((interval - prev_interval < 95*period/100)
|
||||
|| (interval - prev_interval > 105*period/100) ) {
|
||||
if (interval - prev_interval > 105*period/100) {
|
||||
if (tolerance > 0) {
|
||||
mp_msg(MSGT_TV, MSGL_DBG3, "correcting timestamp\n");
|
||||
interval = prev_interval + priv->video_interval_sum/VIDEO_AVG_BUFFER_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user