From dec444e1a933f8daf39f253b39999cec66fec51c Mon Sep 17 00:00:00 2001 From: albeu Date: Thu, 27 Mar 2003 20:25:32 +0000 Subject: [PATCH] The overlay can't downscale git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9707 b3059339-0415-0410-9bf9-f77b7e298cf2 --- drivers/tdfx_vid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tdfx_vid.c b/drivers/tdfx_vid.c index 99fbe4b351..27bee9afc7 100644 --- a/drivers/tdfx_vid.c +++ b/drivers/tdfx_vid.c @@ -586,12 +586,12 @@ static int tdfx_vid_set_overlay(unsigned long arg) { } // Setup the vidproc // H scaling - if(ov.src_width != ov.dst_width) + if(ov.src_width < ov.dst_width) vidcfg |= (1<<14); else vidcfg &= ~(1<<14); // V scaling - if(ov.src_height != ov.dst_height) + if(ov.src_height < ov.dst_height) vidcfg |= (1<<15); else vidcfg &= ~(1<<15);