From 27ba43d1439ed83073ee53b4533514b3d59b72d0 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 31 Jul 2005 20:58:52 +0000 Subject: Needs the previous mpi (pmpi), so request a readable one and request the following filters not to modify it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16157 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_denoise3d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmpcodecs/vf_denoise3d.c') diff --git a/libmpcodecs/vf_denoise3d.c b/libmpcodecs/vf_denoise3d.c index ea9e5f27a0..50291710ab 100644 --- a/libmpcodecs/vf_denoise3d.c +++ b/libmpcodecs/vf_denoise3d.c @@ -120,7 +120,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ int W = mpi->w, H = mpi->h; mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt, - MP_IMGTYPE_IP, MP_IMGFLAG_ACCEPT_STRIDE, + MP_IMGTYPE_IP, MP_IMGFLAG_ACCEPT_STRIDE | + MP_IMGFLAG_PRESERVE | MP_IMGFLAG_READABLE, mpi->w,mpi->h); if(!dmpi) return 0; -- cgit v1.2.3