summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 02:02:08 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 02:02:08 +0000
commita06abe690c73d9d9ed43be967877626c51a0da93 (patch)
tree9337594e876b9608efadbb82cae999bee5a1e875
parent7629b452dbb722a6677d242e267e33125b7def50 (diff)
downloadmpv-a06abe690c73d9d9ed43be967877626c51a0da93.tar.bz2
mpv-a06abe690c73d9d9ed43be967877626c51a0da93.tar.xz
scale sleep time too (-speed)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8069 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index e3a5ba78f2..ae51f835d8 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1606,6 +1606,8 @@ if(!sh_video) {
//============================== SLEEP: ===================================
+time_frame/=playback_speed;
+
// flag 256 means: libvo driver does its timing (dvb card)
if(time_frame>0.001 && !(vo_flags&256)){