aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-09 21:50:03 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-09 21:50:03 +0000
commit8ed9dad99cf887b8d31c198cc89b655642178c33 (patch)
tree3a5ededf1341b4527c777222669b4d6cdae3ec2b /libvo/vo_xv.c
parent56830c125c89a36e376ea5740eaf02a16bcd6e80 (diff)
DR fixed for BGR24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5007 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 7965ee317c..908df2ce8b 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -711,6 +711,7 @@ static uint32_t draw_frame(uint8_t *src[])
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){