diff options
author | jstebbins <[email protected]> | 2009-07-01 00:18:19 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-07-01 00:18:19 +0000 |
commit | c50566e9fb46b7a945fc9d3d5782a7241dab2ac1 (patch) | |
tree | 17868be65cf98a25daabf052b21024e3281e5819 /gtk/src/hb-backend.c | |
parent | dcb86432b4506b1a70221ab4d2b321345d3eee01 (diff) |
LinGui: fix a picture settings storage dimensions problem
Transitioning from specific dimensions to max dimensions was broken
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2652 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 526a9cf8d..eca539e56 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -3144,10 +3144,8 @@ ghb_set_scale(signal_user_data_t *ud, gint mode) width = ((double)height * crop_width / crop_height) + 0.5; job->width = width; job->height = height; - if (max_width) - job->maxWidth = max_width; - if (max_height) - job->maxHeight = max_height; + job->maxWidth = max_width; + job->maxHeight = max_height; job->crop[0] = crop[0]; job->crop[1] = crop[1]; job->crop[2] = crop[2]; job->crop[3] = crop[3]; if (job->anamorphic.mode == 3 && !keep_aspect) |