[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.66,1.67

Arpi of Ize arpi at mplayer.dev.hu
Wed Apr 3 04:40:13 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv29557

Modified Files:
	vo_xv.c 
Log Message:
IMGTYPE_IPB fix

Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- vo_xv.c	24 Mar 2002 19:14:40 -0000	1.66
+++ vo_xv.c	3 Apr 2002 02:40:09 -0000	1.67
@@ -713,6 +713,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->type==MP_IMGTYPE_IPB && num_buffers<3 && mpi->flags&MP_IMGFLAG_READABLE) return VO_FALSE; // not enough
     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){




More information about the MPlayer-cvslog mailing list