From 879e05a7c17cd287db8d51dc3a8a4ee130501b35 Mon Sep 17 00:00:00 2001 From: iive Date: Fri, 3 May 2002 18:42:43 +0000 Subject: [PATCH] timer didn't update if mplayer is too fast (no video) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5947 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libao2/ao_null.c b/libao2/ao_null.c index 7be9cbc49e..b5a5411a63 100644 --- a/libao2/ao_null.c +++ b/libao2/ao_null.c @@ -37,7 +37,7 @@ static int drain(){ 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