[Mplayer-cvslog] CVS: main/libmpcodecs vf_pp.c,1.1,1.2
Arpi of Ize
arpi at mplayer.dev.hu
Sun Apr 7 05:25:27 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv21386
Modified Files:
vf_pp.c
Log Message:
mpeg+pp0 fixed
Index: vf_pp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vf_pp.c 7 Apr 2002 03:20:41 -0000 1.1
+++ vf_pp.c 7 Apr 2002 03:25:25 -0000 1.2
@@ -19,7 +19,8 @@
static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
if(vf->priv->pp&0xFFFF) return; // non-local filters enabled
- if(vf->priv->pp && mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change
+ if((mpi->type==MP_IMGTYPE_IPB || vf->priv->pp) &&
+ mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change
// ok, we can do pp in-place (or pp disabled):
vf->priv->dmpi=vf_get_image(vf->next,mpi->imgfmt,
mpi->type, mpi->flags, mpi->w, mpi->h);
More information about the MPlayer-cvslog
mailing list