changeset 16136:acd19cdc1b46

deghost_plane also reads from destination, so request readable buffer
author reimar
date Thu, 28 Jul 2005 15:44:39 +0000
parents 7457c791204e
children 23b7f5476b61
files libmpcodecs/vf_divtc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_divtc.c	Thu Jul 28 14:14:13 2005 +0000
+++ b/libmpcodecs/vf_divtc.c	Thu Jul 28 15:44:39 2005 +0000
@@ -342,7 +342,8 @@
 	 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);