[Mplayer-cvslog] CVS: main/libmpcodecs vf_flip.c,1.8,1.9
Alban Bedel CVS
albeu at mplayerhq.hu
Thu Nov 7 11:21:36 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv13388/libmpcodecs
Modified Files:
vf_flip.c
Log Message:
Fix IPB DR
Index: vf_flip.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_flip.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vf_flip.c 10 Sep 2002 22:18:32 -0000 1.8
+++ vf_flip.c 7 Nov 2002 10:21:18 -0000 1.9
@@ -41,13 +41,14 @@
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,
More information about the MPlayer-cvslog
mailing list