[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l.c,1.56,1.57

Jindrich Makovicka CVS henry at mplayerhq.hu
Sun Mar 16 17:38:30 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv16785

Modified Files:
	tvi_v4l.c 
Log Message:
remove the lower boundary

Index: tvi_v4l.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- tvi_v4l.c	16 Mar 2003 07:42:26 -0000	1.56
+++ tvi_v4l.c	16 Mar 2003 16:38:16 -0000	1.57
@@ -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;



More information about the MPlayer-cvslog mailing list