summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioDefaults.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-11-02 15:13:46 +0000
committerritsuka <[email protected]>2014-11-02 15:13:46 +0000
commit18ee2d5b932919e60396060ea063053ac8fc711a (patch)
tree115b67dfbe62a097d274c458113ad3f763ba37ab /macosx/HBAudioDefaults.m
parent2857c1fd3d6762d787a90474440b1def74223232 (diff)
MacGui: removed two useless array creation and made a copy of the trackSelectionLanguages ivar before assigning it to the preset dict.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6497 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioDefaults.m')
-rw-r--r--macosx/HBAudioDefaults.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m
index 3c9cff573..58b355573 100644
--- a/macosx/HBAudioDefaults.m
+++ b/macosx/HBAudioDefaults.m
@@ -179,7 +179,7 @@
{
preset[@"AudioTrackSelectionBehavior"] = @"none";
}
- preset[@"AudioLanguageList"] = self.trackSelectionLanguages;
+ preset[@"AudioLanguageList"] = [[self.trackSelectionLanguages copy] autorelease];
// Passthru settings
preset[@"AudioAllowAACPass"] = @(self.allowAACPassthru);