changeset 1365:6afdec7722d9

mpeg2 video decode time is counted twice.
author jkeil
date Fri, 20 Jul 2001 17:42:32 +0000
parents b511c6c5642d
children 83048562f070
files dec_video.c
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Fri Jul 20 16:58:55 2001 +0000
+++ b/dec_video.c	Fri Jul 20 17:42:32 2001 +0000
@@ -387,14 +387,10 @@
     break;
   }
 #endif
-  case 1: {
-        int t=0;
-        t-=GetTimer();
-          mpeg2_decode_data(video_out, start, start+in_size,drop_frame);
-        t+=GetTimer(); video_time_usage+=t*0.000001;
-	if(!drop_frame) blit_frame=1;
+  case 1:
+    mpeg2_decode_data(video_out, start, start+in_size,drop_frame);
+    if(!drop_frame) blit_frame=1;
     break;
-  }
 } // switch
 //------------------------ frame decoded. --------------------