[Mplayer-cvslog] CVS: main/libmpcodecs vf_crop.c,1.3,1.4

Arpi of Ize arpi at mplayer.dev.hu
Sun Apr 14 04:07:32 CEST 2002


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

Modified Files:
	vf_crop.c 
Log Message:
export width too

Index: vf_crop.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_crop.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vf_crop.c	13 Apr 2002 19:14:31 -0000	1.3
+++ vf_crop.c	14 Apr 2002 02:07:29 -0000	1.4
@@ -44,15 +44,15 @@
 	    (vf->priv->crop_y>>1)*mpi->stride[1]+(vf->priv->crop_x>>1);
 	dmpi->planes[2]=mpi->planes[2]+
 	    (vf->priv->crop_y>>1)*mpi->stride[2]+(vf->priv->crop_x>>1);
-	dmpi->stride[0]=mpi->stride[0];
 	dmpi->stride[1]=mpi->stride[1];
 	dmpi->stride[2]=mpi->stride[2];
     } else {
 	dmpi->planes[0]=mpi->planes[0]+
 	    vf->priv->crop_y*mpi->stride[0]+
 	    vf->priv->crop_x*(mpi->bpp/8);
-	dmpi->stride[0]=mpi->stride[0];
     }
+    dmpi->stride[0]=mpi->stride[0];
+    dmpi->width=mpi->width;
     vf_next_put_image(vf,dmpi);
 }
 




More information about the MPlayer-cvslog mailing list