OSDN Git Service

MacGui: Fix issue where sources would round down 16 pixels from full width with some...
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 5 Feb 2010 20:17:15 +0000 (20:17 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 5 Feb 2010 20:17:15 +0000 (20:17 +0000)
- i.e. 720 width would come out at 704.

git-svn-id: svn://localhost/HandBrake/trunk@3096 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/PictureController.m

index 67fe65f..e70ec80 100644 (file)
     titleParWidth = job->anamorphic.par_width;
     titleParHeight = job->anamorphic.par_height;
     
-    [self SettingsChanged: nil];
+    [self SettingsChanged:nil];
 }
 
 - (IBAction) storageLinkChanged: (id) sender
         
        }
        
-    //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 )