diff options
author | jstebbins <[email protected]> | 2009-04-14 22:56:37 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-04-14 22:56:37 +0000 |
commit | 52e7add532d5dc983b328917924459d2ea3873a9 (patch) | |
tree | 8b3e1e9cceb2b726b6484cca7062479a1bb70cab /gtk/src/preview.c | |
parent | a1365b1285c50c34e58172289330c089125c6f93 (diff) |
LinGui: fix some bugs in the new anamorphic settings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2329 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r-- | gtk/src/preview.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c index cbb7184d6..6164270de 100644 --- a/gtk/src/preview.c +++ b/gtk/src/preview.c @@ -105,10 +105,7 @@ ghb_par_scale(signal_user_data_t *ud, gint *width, gint *height, gint par_n, gin num = par_n * disp_par_d; den = par_d * disp_par_n; - if (num > den) - *width = *width * num / den; - else - *height = *height * den / num; + *width = *width * num / den; } void |