summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-28 15:44:39 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-28 15:44:39 +0000
commit3a303a3fbb407d65dbe360f9e6ec6d21e4d10e1b (patch)
tree8b35af6836867912ebad62320e9ce33039296612 /libmpcodecs
parenta426499a97472a1ea48dbd1b314d31b92dfaf7a3 (diff)
downloadmpv-3a303a3fbb407d65dbe360f9e6ec6d21e4d10e1b.tar.bz2
mpv-3a303a3fbb407d65dbe360f9e6ec6d21e4d10e1b.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_divtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_divtc.c b/libmpcodecs/vf_divtc.c
index d3f287a73d..9ac2687fde 100644
--- a/libmpcodecs/vf_divtc.c
+++ b/libmpcodecs/vf_divtc.c
@@ -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);