summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-27 20:25:32 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-27 20:25:32 +0000
commitdec444e1a933f8daf39f253b39999cec66fec51c (patch)
tree3da198b1787487350892363c3184234723847daa /drivers
parent12bcf39e60fa50727ed422fe6e9995d24663d059 (diff)
downloadmpv-dec444e1a933f8daf39f253b39999cec66fec51c.tar.bz2
mpv-dec444e1a933f8daf39f253b39999cec66fec51c.tar.xz
The overlay can't downscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9707 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tdfx_vid.c4
1 files 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);