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:
michael 2006-02-24 15:22:59 +00:00
parent 0b8f7c264e
commit 593dda77e9
1 changed files with 2 additions and 2 deletions

View File

@ -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) {