1
mirror of https://github.com/mpv-player/mpv synced 2024-07-31 16:29:58 +02: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
// 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);