remove the lower boundary

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9610 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2003-03-16 16:38:16 +00:00
parent 831c672512
commit 79102684ed
1 changed files with 1 additions and 2 deletions

View File

@ -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;