summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-08-19 07:16:14 +0000
committerdynaflash <[email protected]>2007-08-19 07:16:14 +0000
commitf1785ad0133f41f4076e66c8476c79751050b375 (patch)
tree50a0ef611de03167bfbae925d0c73476f092213c
parenta56489a08fbd0ec7af7d7f588dd8ff485e4ae6ae (diff)
MacGui: Small pre release bug fixes
- Deinterlace On in preferences now sets deinterlacing to "Fast" upon launch - Fixed bug AutoCrop was set to "Custom" upon launch. - Changed verbage in Preference Panel to Activity Window instead of Debug Window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@836 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/Controller.mm23
-rw-r--r--macosx/English.lproj/Preferences.nib/keyedobjects.nibbin20249 -> 20243 bytes
2 files changed, 17 insertions, 6 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 54bd924ba..b3d7f1dbc 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -197,7 +197,6 @@ static NSString* ChooseSourceIdentifier = @"Choose Source Item Identifie
}
-
/* Destination box*/
[fDstFormatPopUp removeAllItems];
[fDstFormatPopUp addItemWithTitle: _( @"MP4 file" )];
@@ -272,6 +271,18 @@ static NSString* ChooseSourceIdentifier = @"Choose Source Item Identifie
/*Set detelecine to Off upon launch */
[fPicSettingDetelecine setStringValue: @"No"];
[fPicSettingDenoise setStringValue: @"0"];
+ /* 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)
+ {
+ [fPicSettingDeinterlace setStringValue: @"1"];
+ }
+ else
+ {
+ [fPicSettingDeinterlace setStringValue: @"0"];
+ }
+ /* Set Auto Crop to On at launch */
+ [fPicSettingAutoCrop setStringValue: @"1"];
/* Audio bitrate */
[fAudBitratePopUp removeAllItems];
@@ -1032,10 +1043,7 @@ list = hb_get_titles( fHandle );
// Select the longuest title
[fSrcTitlePopUp selectItemAtIndex: indxpri];
[self TitlePopUpChanged: NULL];
- /* We set the auto crop in the main window to value "1" just as in PictureController,
- as it does not seem to be taken from any job-> variable */
- [fPicSettingAutoCrop setStringValue: [NSString stringWithFormat:
- @"%d", 0]];
+
[self EnableUI: YES];
@@ -1760,6 +1768,9 @@ list = hb_get_titles( fHandle );
[fPicSrcHeight setStringValue: [NSString stringWithFormat:
@"%d", fTitle->height]];
+ /* Set Auto Crop to on upon selecting a new title */
+ [fPicSettingAutoCrop setStringValue: @"1"];
+
/* We get the originial output picture width and height and put them
in variables for use with some presets later on */
PicOrigOutputWidth = job->width;
@@ -3946,7 +3957,7 @@ the user is using "Custom" settings by determining the sender*/
/* Video encoder */
[preset setObject:@"x264 (h.264 Main)" forKey:@"VideoEncoder"];
/* x264 Option String (We can use this to tweak the appleTV output)*/
- [preset setObject:@"bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:trellis=2" forKey:@"x264Option"];
+ [preset setObject:@"bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:trellis=2:cabac=0" forKey:@"x264Option"];
/* Video quality */
[preset setObject:[NSNumber numberWithInt:1] forKey:@"VideoQualityType"];
[preset setObject:[fVidTargetSizeField stringValue] forKey:@"VideoTargetSize"];
diff --git a/macosx/English.lproj/Preferences.nib/keyedobjects.nib b/macosx/English.lproj/Preferences.nib/keyedobjects.nib
index d50f0596d..c4997993e 100644
--- a/macosx/English.lproj/Preferences.nib/keyedobjects.nib
+++ b/macosx/English.lproj/Preferences.nib/keyedobjects.nib
Binary files differ