mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 22:30:22 +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:
parent
12bcf39e60
commit
dec444e1a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user