changeset 5946:9243f7464324

timer didn't update if mplayer is too fast (no video)
author iive
date Fri, 03 May 2002 18:42:43 +0000
parents f9fe22a52e80
children 5b8b0027c1e8
files libao2/ao_null.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_null.c	Fri May 03 13:12:46 2002 +0000
+++ b/libao2/ao_null.c	Fri May 03 18:42:43 2002 +0000
@@ -37,7 +37,7 @@
     buffer-=temp;
     if (buffer<0) buffer=0;
 
-    last_tv = now_tv;
+    if(temp>0) last_tv = now_tv;//mplayer is fast
 }
 
 // to set/get/query special features/parameters