summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-06-27 16:50:32 +0000
committerjstebbins <[email protected]>2010-06-27 16:50:32 +0000
commit5b961e1cf78dc3d1de0ecca8f1ef147bc4ef4a6c (patch)
tree1e008b7f2d498e00c6a469d1b1b388ed54b01b87 /macosx/Controller.m
parentc6789912c4c9bbd537ce2ca42502f3a3cc089618 (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/Controller.m')
-rw-r--r--macosx/Controller.m2
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;
}