# HG changeset patch # User arpi # Date 1015710603 0 # Node ID 2b9b34b7cdf817f764fa422b7528c5b2f3245f35 # Parent 24d5713afe2fa0db0080835fa540eed0c5e39dda DR fixed for BGR24 diff -r 24d5713afe2f -r 2b9b34b7cdf8 libvo/vo_xv.c --- a/libvo/vo_xv.c Sat Mar 09 21:33:17 2002 +0000 +++ b/libvo/vo_xv.c Sat Mar 09 21:50:03 2002 +0000 @@ -711,6 +711,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){