summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-11-02 15:17:54 +0000
committerritsuka <[email protected]>2014-11-02 15:17:54 +0000
commitcdbf8a54bf52ac4bbdff5d39484c711a4237d1cf (patch)
tree27ce95faafd2f445d12ba280e413ee3ab87990c0 /macosx/HBAudioController.m
parent18ee2d5b932919e60396060ea063053ac8fc711a (diff)
MacGui: pass only the tracks array to the addTracksFromQueue: method, no need to pass the entire job dict.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6498 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r--macosx/HBAudioController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m
index afad54512..374441d85 100644
--- a/macosx/HBAudioController.m
+++ b/macosx/HBAudioController.m
@@ -170,7 +170,7 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification";
return tracksArray;
}
-- (void) addTracksFromQueue: (NSMutableDictionary *) aQueue
+- (void) addTracksFromQueue: (NSArray *) queueArray
{
// Reinitialize the configured list of audio tracks
@@ -178,7 +178,7 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification";
// The following is the pattern to follow, but with Audio%dTrack being the key to seek...
// Can we assume that there will be no skip in the data?
- for (NSDictionary *audioDict in aQueue[@"AudioList"])
+ for (NSDictionary *audioDict in queueArray)
{
HBAudio *newAudio = [[HBAudio alloc] init];
[newAudio setController: self];