mirror of https://github.com/mpv-player/mpv
cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15942 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1a84771147
commit
5a9e785331
|
@ -189,8 +189,8 @@ static int config(struct vf_instance_s* vf,
|
|||
vf->priv->exp_w = vf->priv->exp_h / vf->priv->aspect;
|
||||
}
|
||||
}
|
||||
if (vf->priv->round > 1) {
|
||||
vf->priv->exp_w = (1 + (vf->priv->exp_w - 1) / vf->priv->round) * vf->priv->round;
|
||||
if (vf->priv->round > 1) { // round up.
|
||||
vf->priv->exp_w = (1 + (vf->priv->exp_w - 1) / vf->priv->round) * vf->priv->round;
|
||||
vf->priv->exp_h = (1 + (vf->priv->exp_h - 1) / vf->priv->round) * vf->priv->round;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue