deghost_plane also reads from destination, so request readable buffer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16137 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-07-28 15:44:39 +00:00
parent a426499a97
commit 3a303a3fbb
1 changed files with 2 additions and 1 deletions

View File

@ -342,7 +342,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi)
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);