summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-06-02 18:41:07 +0000
committerdynaflash <[email protected]>2009-06-02 18:41:07 +0000
commit73f0d8965eb9c2038d79a611b9611fd0558b8898 (patch)
treea846bb9f9003578e00a7997035c5a53a3d87a22e /macosx
parentb60c1ba6535860e8c5b300b44e3191e8c8b61794 (diff)
MacGui: Fix issue in custom anamorphic where clicking the keep ar checkbox would cause the display width to creep up.
- Also disable the keep ar checkbox for strict anamorphic git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2471 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/PictureController.mm15
1 files changed, 6 insertions, 9 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 1a5e0cb5b..38e312ee4 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -719,6 +719,7 @@
[fWidthField setEnabled: NO];
[fHeightStepper setEnabled: NO];
[fHeightField setEnabled: NO];
+ [fRatioCheck setEnabled: NO];
}
else if ([fAnamorphicPopUp indexOfSelectedItem] == 2) // Loose anamorphic
{
@@ -786,18 +787,14 @@
[fDisplayWidthField setEnabled: YES];
- /* If we are coming into custom ana or if in custom ana and the
- * keep ar checkbox is checked, we reset the par to original
- * which gives us a way back if things are hosed up
+ /* If we are coming into custom anamorphic we reset the par to original
+ * which gives us a way back if things get hosed up.
*/
- if (sender == fAnamorphicPopUp || (sender == fRatioCheck && [fRatioCheck state] == NSOnState))
+ if (sender == fAnamorphicPopUp)
{
- if (sender == fAnamorphicPopUp)
- {
- [fRatioCheck setState: NSOnState];
- }
-
+ /* When entering custom anamorphic, we start with keep ar on */
+ [fRatioCheck setState: NSOnState];
/*
KEEPING ASPECT RATIO
Disable editing: PIXEL WIDTH, PIXEL HEIGHT