[MPlayer-cvslog] CVS: main/libmpcodecs vf_down3dright.c,1.4,1.5

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Jul 28 17:53:22 CEST 2005


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	vf_down3dright.c 
Log Message:
If scaleh == 1 our destination image must be readable


Index: vf_down3dright.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_down3dright.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vf_down3dright.c	24 Feb 2005 17:04:04 -0000	1.4
+++ vf_down3dright.c	28 Jul 2005 15:53:18 -0000	1.5
@@ -85,7 +85,8 @@
 
 	// hope we'll get DR buffer:
 	dmpi=vf_get_image(vf->next, IMGFMT_YV12,
-			  MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
+			  MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |
+			  (vf->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0,
 			  mpi->w * vf->priv->scalew,
 			  mpi->h / vf->priv->scaleh - vf->priv->skipline);
 




More information about the MPlayer-cvslog mailing list