[Mplayer-cvslog] CVS: main/libmpcodecs dec_video.c,1.121,1.122

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 17 01:43:14 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv8436

Modified Files:
	dec_video.c 
Log Message:
useless 'max benchmar' removed

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_video.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- dec_video.c	14 Mar 2002 23:29:33 -0000	1.121
+++ dec_video.c	17 Mar 2002 00:43:01 -0000	1.122
@@ -31,13 +31,8 @@
 
 // ===================================================================
 
-extern int benchmark;
 extern double video_time_usage;
 extern double vout_time_usage;
-extern double max_video_time_usage;
-extern double max_vout_time_usage;
-extern double cur_video_time_usage;
-extern double cur_vout_time_usage;
 extern vo_vaa_t vo_vaa;
 
 #include "postproc/postprocess.h"
@@ -200,11 +195,6 @@
 t2=GetTimer();t=t2-t;
 tt = t*0.000001f;
 video_time_usage+=tt;
-if(benchmark)
-{
-    if(tt > max_video_time_usage) max_video_time_usage=tt;
-    cur_video_time_usage=tt;
-}
 
 if(drop_frame) return 0;
 
@@ -219,11 +209,6 @@
     t2=GetTimer()-t2;
     tt=t2*0.000001f;
     vout_time_usage+=tt;
-    if(benchmark)
-    {
-	if(tt > max_vout_time_usage) max_vout_time_usage = tt;
-	cur_vout_time_usage=tt;
-    }
     blit_frame=1;
 
   return blit_frame;




More information about the MPlayer-cvslog mailing list