# HG changeset patch # User arpi # Date 1001449720 0 # Node ID a0bd07b10667f7278d8af41bea694d79d575afb0 # Parent 43152677ed89769b6bf03deee702184ad76793d3 fixed VO time usage (now including page-flip) diff -r 43152677ed89 -r a0bd07b10667 mplayer.c --- a/mplayer.c Tue Sep 25 20:15:25 2001 +0000 +++ b/mplayer.c Tue Sep 25 20:28:40 2001 +0000 @@ -1409,7 +1409,11 @@ if(blit_frame) vo2_flip(video_out,0); #else video_out->check_events(); - if(blit_frame) video_out->flip_page(); + if(blit_frame){ + unsigned int t2=GetTimer(); + video_out->flip_page(); + t2=GetTimer()-t2;vout_time_usage+=t2*0.000001f; + } #endif // usec_sleep(50000); // test only!