summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrackPreset.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-29 08:55:47 +0100
committerDamiano Galassi <[email protected]>2015-10-29 08:55:47 +0100
commit5adef96a78cc94e75c79dfef5c053023751c2175 (patch)
treee07baa02da2112d62d5a34d777e31a7ad9310950 /macosx/HBAudioTrackPreset.m
parent9dfee71965d031d25d6c6f9cb59e136713af24ce (diff)
MacGui: use an pair of 'OK' and 'Cancel' buttons in the defaults sheets instead of a single done button. Fixed the bitrates and mixdowns popups in the audio defaults.
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r--macosx/HBAudioTrackPreset.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m
index 1cd900969..5ce04258f 100644
--- a/macosx/HBAudioTrackPreset.m
+++ b/macosx/HBAudioTrackPreset.m
@@ -302,6 +302,14 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex;
{
retval = [NSSet setWithObjects:@"encoder", nil];
}
+ else if ([key isEqualToString:@"mixdowns"])
+ {
+ retval = [NSSet setWithObjects:@"encoder", nil];
+ }
+ else if ([key isEqualToString:@"bitRates"])
+ {
+ retval = [NSSet setWithObjects:@"encoder", @"mixdown", @"sampleRate", nil];
+ }
return retval;
}