Mercurial > mplayer.hg
changeset 5040:568ca851a05b
framedrop fix
author | arpi |
---|---|
date | Mon, 11 Mar 2002 01:13:13 +0000 |
parents | da65bafd5e99 |
children | 8a708971d372 |
files | libmpcodecs/dec_video.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Mon Mar 11 00:58:32 2002 +0000 +++ b/libmpcodecs/dec_video.c Mon Mar 11 01:13:13 2002 +0000 @@ -206,6 +206,8 @@ cur_video_time_usage=tt; } +if(drop_frame) return 0; + if(!(mpi->flags&(MP_IMGFLAG_DIRECT|MP_IMGFLAG_DRAW_CALLBACK))){ // blit frame: if(mpi->flags&MP_IMGFLAG_PLANAR)