aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-11 01:13:13 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-11 01:13:13 +0000
commit3c7913f30c1ab2460adb86780c6619e4e58c3d0c (patch)
tree926554a58911c33c90205b9da3a703b9f16659ae
parentdf949bbf33c47eb11f4a02ba798d3db3906d24c4 (diff)
framedrop fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5041 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/dec_video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c
index 23b4f946c4..2f98cc108e 100644
--- a/libmpcodecs/dec_video.c
+++ b/libmpcodecs/dec_video.c
@@ -206,6 +206,8 @@ if(benchmark)
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)