changeset 16452:f5cc3e7e7d10

forgotten MP_IMGFLAG_READABLE
author henry
date Sun, 11 Sep 2005 12:16:12 +0000
parents 9f8ddae26f17
children efa4376257c7
files libmpcodecs/vf_screenshot.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_screenshot.c	Sun Sep 11 10:57:28 2005 +0000
+++ b/libmpcodecs/vf_screenshot.c	Sun Sep 11 12:16:12 2005 +0000
@@ -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];