1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00

The overlay can't downscale

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9707 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2003-03-27 20:25:32 +00:00
parent 12bcf39e60
commit dec444e1a9

View File

@ -586,12 +586,12 @@ static int tdfx_vid_set_overlay(unsigned long arg) {
} }
// Setup the vidproc // Setup the vidproc
// H scaling // H scaling
if(ov.src_width != ov.dst_width) if(ov.src_width < ov.dst_width)
vidcfg |= (1<<14); vidcfg |= (1<<14);
else else
vidcfg &= ~(1<<14); vidcfg &= ~(1<<14);
// V scaling // V scaling
if(ov.src_height != ov.dst_height) if(ov.src_height < ov.dst_height)
vidcfg |= (1<<15); vidcfg |= (1<<15);
else else
vidcfg &= ~(1<<15); vidcfg &= ~(1<<15);