From 3a303a3fbb407d65dbe360f9e6ec6d21e4d10e1b Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 28 Jul 2005 15:44:39 +0000 Subject: [PATCH] deghost_plane also reads from destination, so request readable buffer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16137 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_divtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpcodecs/vf_divtc.c b/libmpcodecs/vf_divtc.c index d3f287a73d..9ac2687fde 100644 --- a/libmpcodecs/vf_divtc.c +++ b/libmpcodecs/vf_divtc.c @@ -342,7 +342,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi) if(p->deghost>0) { tmpi=vf_get_image(vf->next, mpi->imgfmt, - MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, + MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | + MP_IMGFLAG_READABLE, mpi->width, mpi->height); vf_clone_mpi_attributes(tmpi, mpi);