summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 06:56:17 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 06:56:17 +0000
commitd1628d12f5a3b37ebd4cd75e0ca1ed4cd1c40be4 (patch)
treeb597226ca614ca5aa4b1ffdd7dce75964e0bc8f2 /mplayer.c
parentc29775e9019aaf2f3d17c2f997e133bdd8a1c465 (diff)
downloadmpv-d1628d12f5a3b37ebd4cd75e0ca1ed4cd1c40be4.tar.bz2
mpv-d1628d12f5a3b37ebd4cd75e0ca1ed4cd1c40be4.tar.xz
simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20914 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/mplayer.c b/mplayer.c
index fe1843fe3d..15f83543c1 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4454,18 +4454,12 @@ if(time_frame>0.001 && !(vo_flags&256))
//====================== FLIP PAGE (VIDEO BLT): =========================
current_module="flip_page";
- if (!frame_time_remaining) {
- if(blit_frame){
+ if (!frame_time_remaining && blit_frame) {
unsigned int t2=GetTimer();
- double tt;
if(vo_config_count) video_out->flip_page();
-// usec_sleep(50000); // test only!
- t2=GetTimer()-t2;
- tt = t2*0.000001f;
- vout_time_usage+=tt;
- }
+ vout_time_usage += (GetTimer() - t2) * 0.000001;
}
//====================== A-V TIMESTAMP CORRECTION: =========================