CVS: main/libmpcodecs vf_screenshot.c,1.2,1.3
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];
Hi, On Sunday 11 September 2005 20:16, Jindrich Makovicka CVS wrote:
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
I've just compiled and tested it, rmvb, mov, mpg, wmv all works great, the problem is the avi files, encoded in xvid. in a nutshell, there is no video when using screenshot, only a black window with x11 vo, however press 's' still get the correct image, that supposed to be displayed in the window. -- Best Regards, LR
participants (2)
-
syncmail@mplayerhq.hu -
陆然