[Mplayer-cvslog] CVS: main dec_video.c,1.8,1.9

Jürgen Keil jkeil at mplayer.dev.hu
Fri Jul 20 19:42:34 CEST 2001


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

Modified Files:
	dec_video.c 
Log Message:
mpeg2 video decode time is counted twice.


Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- dec_video.c	20 Jul 2001 11:35:47 -0000	1.8
+++ dec_video.c	20 Jul 2001 17:42:32 -0000	1.9
@@ -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. --------------------
 




More information about the MPlayer-cvslog mailing list