mirror of https://github.com/mpv-player/mpv
simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20914 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c29775e901
commit
d1628d12f5
10
mplayer.c
10
mplayer.c
|
@ -4454,18 +4454,12 @@ if(time_frame>0.001 && !(vo_flags&256))
|
||||||
//====================== FLIP PAGE (VIDEO BLT): =========================
|
//====================== FLIP PAGE (VIDEO BLT): =========================
|
||||||
|
|
||||||
current_module="flip_page";
|
current_module="flip_page";
|
||||||
if (!frame_time_remaining) {
|
if (!frame_time_remaining && blit_frame) {
|
||||||
if(blit_frame){
|
|
||||||
unsigned int t2=GetTimer();
|
unsigned int t2=GetTimer();
|
||||||
double tt;
|
|
||||||
|
|
||||||
if(vo_config_count) video_out->flip_page();
|
if(vo_config_count) video_out->flip_page();
|
||||||
|
|
||||||
// usec_sleep(50000); // test only!
|
vout_time_usage += (GetTimer() - t2) * 0.000001;
|
||||||
t2=GetTimer()-t2;
|
|
||||||
tt = t2*0.000001f;
|
|
||||||
vout_time_usage+=tt;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//====================== A-V TIMESTAMP CORRECTION: =========================
|
//====================== A-V TIMESTAMP CORRECTION: =========================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue