[MPlayer-cvslog] CVS: main/libmpcodecs vf_screenshot.c,1.2,1.3

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Sun Sep 11 14:16:14 CEST 2005


CVS change done by Jindrich Makovicka CVS

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

Modified Files:
	vf_screenshot.c 
Log Message:
forgotten MP_IMGFLAG_READABLE

Index: vf_screenshot.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_screenshot.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vf_screenshot.c	11 Sep 2005 10:52:24 -0000	1.2
+++ vf_screenshot.c	11 Sep 2005 12:16:12 -0000	1.3
@@ -179,7 +179,7 @@
 
 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
     vf->dmpi= vf_get_image(vf->next, mpi->imgfmt, 
-			   mpi->type, mpi->flags, mpi->width, mpi->height);
+			   mpi->type, mpi->flags | MP_IMGFLAG_READABLE, mpi->width, mpi->height);
 
     mpi->planes[0]=vf->dmpi->planes[0];
     mpi->stride[0]=vf->dmpi->stride[0];




More information about the MPlayer-cvslog mailing list