[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.62,1.63
Arpi of Ize
arpi at mplayer.dev.hu
Sat Mar 9 22:50:06 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv16410
Modified Files:
vo_xv.c
Log Message:
DR fixed for BGR24
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- vo_xv.c 8 Mar 2002 20:14:08 -0000 1.62
+++ vo_xv.c 9 Mar 2002 21:50:03 -0000 1.63
@@ -710,6 +710,7 @@
static uint32_t get_image(mp_image_t *mpi){
if(mpi->type==MP_IMGTYPE_STATIC && num_buffers>1) return VO_FALSE; // it is not static
+ if(mpi->imgfmt!=image_format || mpi->imgfmt==IMGFMT_BGR24) return VO_FALSE; // needs conversion :(
// if(mpi->flags&MP_IMGFLAG_READABLE) return VO_FALSE; // slow video ram
if(mpi->width==image_width){
if(mpi->flags&MP_IMGFLAG_PLANAR){
More information about the MPlayer-cvslog
mailing list