mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 15:11:58 +00:00
10l (dont limit dimension components independantly if noup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17675 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0b8f7c264e
commit
593dda77e9
@ -146,10 +146,10 @@ static int config(struct vf_instance_s* vf,
|
||||
}
|
||||
|
||||
if(vf->priv->noup){
|
||||
if(vf->priv->w > width)
|
||||
if((vf->priv->w > width) + (vf->priv->h > height) >= vf->priv->noup){
|
||||
vf->priv->w= width;
|
||||
if(vf->priv->h > height)
|
||||
vf->priv->h= height;
|
||||
}
|
||||
}
|
||||
|
||||
if (vf->priv->w <= -8) {
|
||||
|
Loading…
Reference in New Issue
Block a user