diff options
author | jbrjake <[email protected]> | 2008-09-19 13:49:13 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-09-19 13:49:13 +0000 |
commit | cb37ee59971e9d0b582ddf2b50c358d7bd2acaf9 (patch) | |
tree | 77d440e9a19840b80aa16eb5a455065afaf2c7c9 /macosx/HBAdvancedController.m | |
parent | 48c7caa40aa8de67151b26a62cd8c4751b566b45 (diff) |
Brings MacGui in line with x264's new default subme of 6. Remember to update your built-in presets!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1725 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r-- | macosx/HBAdvancedController.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m index c1aad5ad0..cde621295 100644 --- a/macosx/HBAdvancedController.m +++ b/macosx/HBAdvancedController.m @@ -130,7 +130,7 @@ /*Sub Me fX264optSubmePopUp*/ [fX264optSubmePopUp removeAllItems]; - [fX264optSubmePopUp addItemWithTitle:@"Default (4)"]; + [fX264optSubmePopUp addItemWithTitle:@"Default (6)"]; for (i=0; i<8;i++) { [fX264optSubmePopUp addItemWithTitle:[NSString stringWithFormat:@"%d",i]]; @@ -435,7 +435,7 @@ [[fX264optBiMESwitch animator] setHidden:NO]; [[fX264optBiMELabel animator] setHidden:NO]; - if ( [fX264optSubmePopUp indexOfSelectedItem] >= 7) + if ( [fX264optSubmePopUp indexOfSelectedItem] >= 7 || [fX264optSubmePopUp indexOfSelectedItem] == 0 ) { /* Only show B-RDO if both bframes and subme allow it. */ [[fX264optBRDOSwitch animator] setHidden:NO]; @@ -460,7 +460,7 @@ [[fX264optBiMESwitch animator] setHidden:NO]; [[fX264optBiMELabel animator] setHidden:NO]; - if ( [fX264optSubmePopUp indexOfSelectedItem] >= 7) + if ( [fX264optSubmePopUp indexOfSelectedItem] >= 7 || [fX264optSubmePopUp indexOfSelectedItem] == 0 ) { /* Only show B-RDO if both bframes and subme allow it. */ [[fX264optBRDOSwitch animator] setHidden:NO]; @@ -491,7 +491,7 @@ [[fX264optTrellisLabel animator] setHidden:NO]; } - if ( [fX264optSubmePopUp indexOfSelectedItem] < 7) + if ( [fX264optSubmePopUp indexOfSelectedItem] < 7 && [fX264optSubmePopUp indexOfSelectedItem] != 0 ) { /* When subme < 6, B-RDO doesn't work. */ [[fX264optBRDOSwitch animator] setHidden:YES]; |