Mercurial > mplayer.hg
diff libmpcodecs/vf_screenshot.c @ 16452:f5cc3e7e7d10
forgotten MP_IMGFLAG_READABLE
author | henry |
---|---|
date | Sun, 11 Sep 2005 12:16:12 +0000 |
parents | 40222952440f |
children | 34eb986b7e4a |
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];