summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 18:42:43 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-03 18:42:43 +0000
commit879e05a7c17cd287db8d51dc3a8a4ee130501b35 (patch)
treef4375100378143b99fe404a9fc7c137b57dbc709 /libao2
parent5e1d8aafed1cf7c3d67345a7be1a1c06c53ade77 (diff)
downloadmpv-879e05a7c17cd287db8d51dc3a8a4ee130501b35.tar.bz2
mpv-879e05a7c17cd287db8d51dc3a8a4ee130501b35.tar.xz
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
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_null.c2
1 files changed, 1 insertions, 1 deletions
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