changeset 9609:bb8593ea37cb

remove the lower boundary
author henry
date Sun, 16 Mar 2003 16:38:16 +0000
parents 7bc2ed398ccf
children 76c6d8f1ebf5
files libmpdemux/tvi_v4l.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l.c	Sun Mar 16 07:42:26 2003 +0000
+++ b/libmpdemux/tvi_v4l.c	Sun Mar 16 16:38:16 2003 +0000
@@ -1328,8 +1328,7 @@
 		// 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;