Mercurial > mplayer.hg
changeset 5150:23879c23ec67
useless 'max benchmar' removed
author | arpi |
---|---|
date | Sun, 17 Mar 2002 00:43:01 +0000 |
parents | 66b7488f9dd4 |
children | 610d399f50c3 |
files | libmpcodecs/dec_video.c |
diffstat | 1 files changed, 0 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Sat Mar 16 22:51:07 2002 +0000 +++ b/libmpcodecs/dec_video.c Sun Mar 17 00:43:01 2002 +0000 @@ -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;