changeset 16155:c0ab9ab83f4c

vBlur reads from dmpi, so request a readable one
author reimar
date Sun, 31 Jul 2005 20:56:41 +0000
parents abe49bc12544
children 64606c87ead9
files libmpcodecs/vf_boxblur.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_boxblur.c	Sun Jul 31 12:13:22 2005 +0000
+++ b/libmpcodecs/vf_boxblur.c	Sun Jul 31 20:56:41 2005 +0000
@@ -137,7 +137,7 @@
 	int ch= mpi->h >> mpi->chroma_y_shift;
 
 	mp_image_t *dmpi=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->w,mpi->h);
 
 	assert(mpi->flags&MP_IMGFLAG_PLANAR);