mirror of https://github.com/mpv-player/mpv
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:
parent
a426499a97
commit
3a303a3fbb
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue