From a407a9c74cc0eb283d6a5182cb2dafb37c8e603f Mon Sep 17 00:00:00 2001 From: dynaflash Date: Mon, 4 Aug 2008 15:30:46 +0000 Subject: MacGui: Remove legacy preferences since they are now controlled via the presets. - Remove the Chapter Markers preference - Remove the Set Deinterlace to on upon scan preference -- Note: this means that for custom presets that do not use picture filters, Deinterlace will not be used upon scan since there is no preference to use it anymore, otherwise the default preset will control it. - Remove the Use Picture Par upon scan -- Note: this means that for custom presets that do not use picture settings, Anamorphic will not be used upon scan since there is no preference to use it anymore, otherwise the default preset will control it. - Also correct the label for custom Decomb string to read Decomb instead of Deblock "duh" . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1605 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.mm | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'macosx/Controller.mm') diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 6ef426af4..8943fbbee 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1323,18 +1323,11 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It if (currentSuccessfulScanCount == 1) { [self selectDefaultPreset:nil]; - /* if Deinterlace upon launch is specified in the prefs, then set to 1 for "Fast", - if not, then set to 0 for none */ - if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultDeinterlaceOn"] > 0) - { - [fPictureController setDeinterlace:1]; - } - else - { - [fPictureController setDeinterlace:0]; - } + /* initially set deinterlace to 0, will be overridden reset by the default preset anyway */ + //[fPictureController setDeinterlace:0]; + /* lets set Denoise to index 0 or "None" since this is the first scan */ - [fPictureController setDenoise:0]; + //[fPictureController setDenoise:0]; [fPictureController setInitialPictureFilters]; } @@ -2101,15 +2094,6 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It hb_job_t * job = title->job; fTitle = title; - /* Pixel Ratio Setting */ - if ([[NSUserDefaults standardUserDefaults] boolForKey:@"PixelRatio"]) - { - job->pixel_ratio = 1 ; - } - else - { - job->pixel_ratio = 0 ; - } /*Set Source Size Field Here */ [fPicSettingsSrc setStringValue: [NSString stringWithFormat: @"%d x %d", fTitle->width, fTitle->height]]; @@ -4414,7 +4398,7 @@ if (item == nil) [fPictureController setDeblock:0]; } - [self calculatePictureSizing:nil]; + [self calculatePictureSizing:nil]; } } -- cgit v1.2.3