changeset 20898:7c5be93b619b

simplify
author uau
date Tue, 14 Nov 2006 06:56:17 +0000
parents b85131ecee3d
children c00d8c1aa0ab
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Nov 14 06:49:37 2006 +0000
+++ b/mplayer.c	Tue Nov 14 06:56:17 2006 +0000
@@ -4454,18 +4454,12 @@
 //====================== 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: =========================