1
0
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:
arpi 2002-03-11 01:13:13 +00:00
parent df949bbf33
commit 3c7913f30c

View File

@ -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)