X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=macosx%2FPictureController.m;h=e70ec80eb587690aa0b74fce2fb44cbca8cd34ad;hb=3250542476cfc59c9158211bfd7650b4fd5e5e2a;hp=307962aeb4dc5ce1f119b62b0fd3b53f1537c3ef;hpb=be640fdf6c2ccd5534c4e17ff2d170ad504b1794;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/macosx/PictureController.m b/macosx/PictureController.m index 307962ae..e70ec80e 100644 --- a/macosx/PictureController.m +++ b/macosx/PictureController.m @@ -520,10 +520,7 @@ [fAnamorphicPopUp removeAllItems]; [fAnamorphicPopUp addItemWithTitle: @"None"]; [fAnamorphicPopUp addItemWithTitle: @"Strict"]; - if (allowLooseAnamorphic) - { [fAnamorphicPopUp addItemWithTitle: @"Loose"]; - } [fAnamorphicPopUp addItemWithTitle: @"Custom"]; [fAnamorphicPopUp selectItemAtIndex: job->anamorphic.mode]; @@ -584,7 +581,7 @@ titleParWidth = job->anamorphic.par_width; titleParHeight = job->anamorphic.par_height; - [self SettingsChanged: nil]; + [self SettingsChanged:nil]; } - (IBAction) storageLinkChanged: (id) sender @@ -976,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 ) @@ -1105,16 +1101,6 @@ autoCrop = setting; } -- (BOOL) allowLooseAnamorphic -{ - return allowLooseAnamorphic; -} - -- (void) setAllowLooseAnamorphic: (BOOL) setting -{ - allowLooseAnamorphic = setting; -} - - (IBAction)showPreviewPanel: (id)sender forTitle: (hb_title_t *)title { //[self SetTitle:title];