fixed VO time usage (now including page-flip)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1963 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-09-25 20:28:40 +00:00
parent 414dea4111
commit 509b967bc2
1 changed files with 5 additions and 1 deletions

View File

@ -1409,7 +1409,11 @@ if(1)
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!