changeset 16156:64606c87ead9

Needs the previous mpi (pmpi), so request a readable one and request the following filters not to modify it.
author reimar
date Sun, 31 Jul 2005 20:58:52 +0000
parents c0ab9ab83f4c
children 809452f0da6e
files libmpcodecs/vf_denoise3d.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_denoise3d.c	Sun Jul 31 20:56:41 2005 +0000
+++ b/libmpcodecs/vf_denoise3d.c	Sun Jul 31 20:58:52 2005 +0000
@@ -120,7 +120,8 @@
         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;