[MPlayer-cvslog] CVS: main/libmpcodecs vf_pp.c,1.32,1.33

Reimar Döffinger CVS syncmail at mplayerhq.hu
Tue Sep 13 12:47:36 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv1433

Modified Files:
	vf_pp.c 
Log Message:
pp_postprocess reads from target image, so request a readable one.
Discussed here:
Date: Wed, 27 Jul 2005 18:33:42 +0200
Subject: [MPlayer-dev-eng] [PATCH] mp_image flags in filters


Index: vf_pp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pp.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- vf_pp.c	20 Jul 2005 01:22:24 -0000	1.32
+++ vf_pp.c	13 Sep 2005 10:47:33 -0000	1.33
@@ -114,7 +114,8 @@
     if(!(mpi->flags&MP_IMGFLAG_DIRECT)){
 	// no DR, so get a new image! hope we'll get DR buffer:
 	vf->dmpi=vf_get_image(vf->next,mpi->imgfmt,
-	    MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE|MP_IMGFLAG_PREFER_ALIGNED_STRIDE,
+	    MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |
+	    MP_IMGFLAG_PREFER_ALIGNED_STRIDE | MP_IMGFLAG_READABLE,
 //	    MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
 //	    mpi->w,mpi->h);
 	    (mpi->width+7)&(~7),(mpi->height+7)&(~7));




More information about the MPlayer-cvslog mailing list