From 5350224534b489e65b6167fd3773fbf39d35b5e1 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 28 Jul 2005 15:53:18 +0000 Subject: [PATCH] If scaleh == 1 our destination image must be readable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16139 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_down3dright.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpcodecs/vf_down3dright.c b/libmpcodecs/vf_down3dright.c index f1441d9b57..a8f3939208 100644 --- a/libmpcodecs/vf_down3dright.c +++ b/libmpcodecs/vf_down3dright.c @@ -85,7 +85,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi) // hope we'll get DR buffer: dmpi=vf_get_image(vf->next, IMGFMT_YV12, - MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, + MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | + (vf->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0, mpi->w * vf->priv->scalew, mpi->h / vf->priv->scaleh - vf->priv->skipline);