... when the screen is smaller than the preview. If the width fit but the
height didn't, it computed incorrect size and displayed with wrong aspect.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4074
b64f7644-9d1e-0410-96f1-
a4d463321fa5
if (dstHeight > s_h * factor / 100)
{
dstHeight = s_h * factor / 100;
- dstWidth = dstWidth * dstHeight / orig_h;
+ dstWidth = orig_w * dstHeight / orig_h;
}
xscale *= (gdouble)dstWidth / orig_w;
yscale *= (gdouble)dstHeight / orig_h;