[MPlayer-cvslog] CVS: main/libao2 ao_jack.c,1.13,1.14

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Jul 28 19:11:25 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv20757/libao2

Modified Files:
	ao_jack.c 
Log Message:
reset estimation also on too negative diff


Index: ao_jack.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_jack.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ao_jack.c	26 Jul 2005 10:47:29 -0000	1.13
+++ ao_jack.c	28 Jul 2005 17:11:22 -0000	1.14
@@ -186,7 +186,7 @@
   if (estimate) {
     float now = (float)GetTimer() / 1000000.0;
     float diff = callback_time + callback_interval - now;
-    if (diff < 0.002)
+    if ((diff > -0.002) && (diff < 0.002))
       callback_time += callback_interval;
     else
       callback_time = now;




More information about the MPlayer-cvslog mailing list