mirror of
https://github.com/mpv-player/mpv
synced 2025-04-23 23:56:20 +00:00
framedrop fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5041 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
df949bbf33
commit
3c7913f30c
@ -206,6 +206,8 @@ if(benchmark)
|
|||||||
cur_video_time_usage=tt;
|
cur_video_time_usage=tt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(drop_frame) return 0;
|
||||||
|
|
||||||
if(!(mpi->flags&(MP_IMGFLAG_DIRECT|MP_IMGFLAG_DRAW_CALLBACK))){
|
if(!(mpi->flags&(MP_IMGFLAG_DIRECT|MP_IMGFLAG_DRAW_CALLBACK))){
|
||||||
// blit frame:
|
// blit frame:
|
||||||
if(mpi->flags&MP_IMGFLAG_PLANAR)
|
if(mpi->flags&MP_IMGFLAG_PLANAR)
|
||||||
|
Loading…
Reference in New Issue
Block a user