summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-09-25 20:07:46 +0000
committerjbrjake <[email protected]>2008-09-25 20:07:46 +0000
commit8593c0d23cf4824b8a1cb70f392897e5c04c72ff (patch)
tree9641a3d9b6d2dbb241068d5494fe3d5ad2c7d9cd /macosx
parente8118458c9594b99ec6533d793fee5d966e1c426 (diff)
MacGui:Oops. WTF was I hiding direct prediction in the advanced options based on what analyse was set to? Thanks for pointing this out, jstebbins.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1765 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBAdvancedController.m35
1 files changed, 7 insertions, 28 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m
index b89abb05a..c035ddd6b 100644
--- a/macosx/HBAdvancedController.m
+++ b/macosx/HBAdvancedController.m
@@ -386,7 +386,7 @@
- B-frames (when 0 turn of b-frame specific stuff, when < 2 disable b-pyramid)
- CABAC (when 0 turn off trellis)
- subme (if under 6 turn off brdo)
- - analysis (if none, turn off 8x8dct and direct pred)
+ - analysis (if none, turn off 8x8dct)
- refs (under 2, disable mixed-refs)
*/
@@ -444,13 +444,9 @@
[[fX264optBRDOSwitch animator] setHidden:NO];
[[fX264optBRDOLabel animator] setHidden:NO];
}
-
- if ( [fX264optAnalysePopUp indexOfSelectedItem] != 1)
- {
- /* Only show direct pred when allowed by both bframes and analysis.*/
- [[fX264optDirectPredPopUp animator] setHidden:NO];
- [[fX264optDirectPredLabel animator] setHidden:NO];
- }
+
+ [[fX264optDirectPredPopUp animator] setHidden:NO];
+ [[fX264optDirectPredLabel animator] setHidden:NO];
}
else
{
@@ -470,12 +466,8 @@
[[fX264optBRDOLabel animator] setHidden:NO];
}
- if ( [fX264optAnalysePopUp indexOfSelectedItem] != 1)
- {
- /* Only show direct pred when allowed by both bframes and analysis.*/
- [[fX264optDirectPredPopUp animator] setHidden:NO];
- [[fX264optDirectPredLabel animator] setHidden:NO];
- }
+ [[fX264optDirectPredPopUp animator] setHidden:NO];
+ [[fX264optDirectPredLabel animator] setHidden:NO];
}
if ( [fX264optCabacSwitch state] == false)
@@ -512,29 +504,16 @@
if ( [fX264optAnalysePopUp indexOfSelectedItem] == 1)
{
- /* No analysis? Disable 8x8dct and direct pred */
+ /* No analysis? Disable 8x8dct */
[[fX264opt8x8dctSwitch animator] setHidden:YES];
[[fX264opt8x8dctLabel animator] setHidden:YES];
if ( [fX264opt8x8dctSwitch state] == 1 && sender != fX264opt8x8dctSwitch )
[fX264opt8x8dctSwitch performClick:self];
-
- [[fX264optDirectPredPopUp animator] setHidden:YES];
- [[fX264optDirectPredLabel animator] setHidden:YES];
- [fX264optDirectPredPopUp selectItemAtIndex: 0];
- if ( [fX264optDirectPredPopUp indexOfSelectedItem] > 1 && sender != fX264optDirectPredPopUp)
- [[fX264optDirectPredPopUp cell] performClick:self];
}
else
{
[[fX264opt8x8dctSwitch animator] setHidden:NO];
[[fX264opt8x8dctLabel animator] setHidden:NO];
-
- if ( [fX264optBframesPopUp indexOfSelectedItem ] >= 2)
- {
- /* Onlt show direct pred when allowed by both analysis and bframes */
- [[fX264optDirectPredPopUp animator] setHidden:NO];
- [[fX264optDirectPredLabel animator] setHidden:NO];
- }
}
if ( [fX264optRefPopUp indexOfSelectedItem] < 3)