# HG changeset patch # User arpi # Date 1017801609 0 # Node ID ea1ae0e3ea19cd3e866b9a9e7c40dd5490315113 # Parent 1f9c8301a7f2c923240e5f12dc66b27ed3e02460 IMGTYPE_IPB fix diff -r 1f9c8301a7f2 -r ea1ae0e3ea19 libvo/vo_xv.c --- a/libvo/vo_xv.c Wed Apr 03 02:39:02 2002 +0000 +++ b/libvo/vo_xv.c Wed Apr 03 02:40:09 2002 +0000 @@ -714,6 +714,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){