Mercurial > mplayer.hg
changeset 5006:2b9b34b7cdf8
DR fixed for BGR24
author | arpi |
---|---|
date | Sat, 09 Mar 2002 21:50:03 +0000 |
parents | 24d5713afe2f |
children | 18690b95b24c |
files | libvo/vo_xv.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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){