[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.21,1.22

Arpi of Ize arpi at mplayerhq.hu
Sat Aug 3 00:58:01 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv23021

Modified Files:
	vf_scale.c 
Log Message:
imho swscale also likes aligned stride :)


Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vf_scale.c	1 Aug 2002 12:39:07 -0000	1.21
+++ vf_scale.c	2 Aug 2002 22:57:58 -0000	1.22
@@ -171,7 +171,7 @@
 
     // hope we'll get DR buffer:
     dmpi=vf_get_image(vf->next,vf->priv->fmt,
-	MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
+	MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE,
 	vf->priv->w, vf->priv->h);
     vf->priv->ctx->swScale(vf->priv->ctx,mpi->planes,mpi->stride,0,mpi->h,dmpi->planes,dmpi->stride);
     




More information about the MPlayer-cvslog mailing list