summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-07 10:21:18 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-07 10:21:18 +0000
commitae990671dc3c6c3b69ac35595fa42a8ef9b783a3 (patch)
treed241ca33b3b547ccc6374a2ab582985747144d2c /libmpcodecs
parent234289f0adefdc1f81e437b28f30f92bad849992 (diff)
downloadmpv-ae990671dc3c6c3b69ac35595fa42a8ef9b783a3.tar.bz2
mpv-ae990671dc3c6c3b69ac35595fa42a8ef9b783a3.tar.xz
Fix IPB DR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8127 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_flip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_flip.c b/libmpcodecs/vf_flip.c
index dfefd1e4d3..b63472a1b2 100644
--- a/libmpcodecs/vf_flip.c
+++ b/libmpcodecs/vf_flip.c
@@ -41,13 +41,14 @@ static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
mpi->stride[2]=-vf->priv->dmpi->stride[2];
}
mpi->flags|=MP_IMGFLAG_DIRECT;
+ mpi->priv=(void*)vf->priv->dmpi;
}
}
static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
if(mpi->flags&MP_IMGFLAG_DIRECT){
// we've used DR, so we're ready...
- return vf_next_put_image(vf,vf->priv->dmpi);
+ return vf_next_put_image(vf,(mp_image_t*)mpi->priv);
}
vf->priv->dmpi=vf_get_image(vf->next,mpi->imgfmt,