summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-09-25 16:42:09 +0000
committerjbrjake <[email protected]>2008-09-25 16:42:09 +0000
commitccb3c35788aa8c32c3f41a082d034923580b9f1e (patch)
tree9d7460b18b578df0eb97dbf2faaa55288fe35912
parentcb8f50891e804f3768fa3475fb77de961a441498 (diff)
MacGui: Fixes bug in x264 advanced options tab, that didn't blank out direct prediction when b-frames were disabled. Thanks for pointing it out, cvk_b!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1763 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBAdvancedController.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m
index cde621295..b89abb05a 100644
--- a/macosx/HBAdvancedController.m
+++ b/macosx/HBAdvancedController.m
@@ -417,9 +417,12 @@
[[fX264optDirectPredPopUp animator] setHidden:YES];
[[fX264optDirectPredLabel animator] setHidden:YES];
- [fX264optDirectPredPopUp selectItemAtIndex: 0];
- if ( [fX264optDirectPredPopUp indexOfSelectedItem] > 1 && sender != fX264optWeightBSwitch && sender != fX264optBRDOSwitch && sender != fX264optBPyramidSwitch && sender != fX264optBiMESwitch && sender != fX264optDirectPredPopUp)
+ if ( [fX264optDirectPredPopUp indexOfSelectedItem] > 0 && sender != fX264optWeightBSwitch && sender != fX264optBRDOSwitch && sender != fX264optBPyramidSwitch && sender != fX264optBiMESwitch && sender != fX264optDirectPredPopUp)
+ {
+ [fX264optDirectPredPopUp selectItemAtIndex: 0];
[[fX264optDirectPredPopUp cell] performClick:self];
+
+ }
}
else if ( [fX264optBframesPopUp indexOfSelectedItem ] == 2)
{