summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-31 20:58:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-31 20:58:52 +0000
commit27ba43d1439ed83073ee53b4533514b3d59b72d0 (patch)
treec0eb9ff3ba4e227b965d7d92e4886b2ef159cbda /libmpcodecs
parentb003b6c286157ef41c650f49dd42aa1abf6712d3 (diff)
downloadmpv-27ba43d1439ed83073ee53b4533514b3d59b72d0.tar.bz2
mpv-27ba43d1439ed83073ee53b4533514b3d59b72d0.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_denoise3d.c3
1 files changed, 2 insertions, 1 deletions
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;