diff options
author | ritsuka <[email protected]> | 2014-08-25 15:56:57 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-08-25 15:56:57 +0000 |
commit | 7f5f9fa934bf1e5afb7567badf40147c28594ff6 (patch) | |
tree | 67d9d7b861c6b1e0544822ceebae738a2d6a294e /macosx/HBAudioDefaults.m | |
parent | 68f946e7ea88e2393338716d36a90d36dc1337fb (diff) |
MacGui: store the audio and subtitles defaults in each queue item so they can be loaded back from the queue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6360 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioDefaults.m')
-rw-r--r-- | macosx/HBAudioDefaults.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m index 304849d79..3c9cff573 100644 --- a/macosx/HBAudioDefaults.m +++ b/macosx/HBAudioDefaults.m @@ -132,6 +132,8 @@ self.encoderFallback = hb_audio_encoder_get_from_name(strValue); } + [self.tracksArray removeAllObjects]; + for (NSDictionary *track in preset[@"AudioList"]) { HBAudioTrackPreset *newTrack = [[HBAudioTrackPreset alloc] init]; @@ -162,7 +164,7 @@ } } -- (void)prepareAudioForPreset:(NSMutableDictionary *)preset +- (void)prepareAudioDefaultsForPreset:(NSMutableDictionary *)preset { // Track selection behavior if (self.trackSelectionBehavior == HBAudioTrackSelectionBehaviorFirst) |