summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-02-05 20:17:15 +0000
committerdynaflash <[email protected]>2010-02-05 20:17:15 +0000
commit13b843cdca7bd875316d3bd8327d1c1575da8674 (patch)
tree9a79f0ce91fe4b04fb59191babf52b9bc80de8be /macosx/PictureController.m
parent53aa770c937bac8e4c2c738bc3042c7c1684158f (diff)
MacGui: Fix issue where sources would round down 16 pixels from full width with some presets.
- i.e. 720 width would come out at 704. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3096 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.m')
-rw-r--r--macosx/PictureController.m11
1 files changed, 5 insertions, 6 deletions
diff --git a/macosx/PictureController.m b/macosx/PictureController.m
index 67fe65f07..e70ec80eb 100644
--- a/macosx/PictureController.m
+++ b/macosx/PictureController.m
@@ -581,7 +581,7 @@
titleParWidth = job->anamorphic.par_width;
titleParHeight = job->anamorphic.par_height;
- [self SettingsChanged: nil];
+ [self SettingsChanged:nil];
}
- (IBAction) storageLinkChanged: (id) sender
@@ -973,15 +973,14 @@
}
- //job->keep_ratio = ( [fRatioCheck state] == NSOnState );
-
if ([fAnamorphicPopUp indexOfSelectedItem] != 3)
{
- job->keep_ratio = ( [fRatioCheck state] == NSOnState );
- if( job->keep_ratio )
+ job->keep_ratio = ( [fRatioCheck state] == NSOnState );
+ if( job->keep_ratio )
{
if( sender == fWidthStepper || sender == fRatioCheck ||
- sender == fCropTopStepper || sender == fCropBottomStepper )
+ sender == fCropTopStepper || sender == fCropBottomStepper||
+ sender == fCropMatrix || sender == nil )
{
hb_fix_aspect( job, HB_KEEP_WIDTH );
if( job->height > fTitle->height )