diff options
author | jstebbins <[email protected]> | 2010-06-27 16:50:32 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-06-27 16:50:32 +0000 |
commit | 5b961e1cf78dc3d1de0ecca8f1ef147bc4ef4a6c (patch) | |
tree | 1e008b7f2d498e00c6a469d1b1b388ed54b01b87 /macosx | |
parent | c6789912c4c9bbd537ce2ca42502f3a3cc089618 (diff) |
MacGui: fix uninteded side effect of code that enforces maxWidth/Height when loading anamorphic preset
PictureControler relies on job->maxWidth and job->maxHeight being 0. These should only be set when
the preset is initailly loaded and the presets values are initialized.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3415 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 8d404ad0b..9f2f4e8b8 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -7011,6 +7011,8 @@ return YES; job->maxWidth = job->width; job->maxHeight = job->height; hb_set_anamorphic_size( job, &w, &h, &par_w, &par_h ); + job->maxWidth = 0; + job->maxHeight = 0; job->width = w; job->height = h; } |