summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-13 20:06:14 +0000
committerritsuka <[email protected]>2015-01-13 20:06:14 +0000
commit79aca56018582d12d0b0379d8a605c9afb4d8cc2 (patch)
tree8497da4f5838b8735c1923b98c1ee0a57a344741 /macosx
parentacac8a09b29da8875c1d539796fc7f3bb7948939 (diff)
MacGui: fix a crash when editing a queue item.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6745 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBSubtitles.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m
index c8965169c..6d982cdcc 100644
--- a/macosx/HBSubtitles.m
+++ b/macosx/HBSubtitles.m
@@ -414,6 +414,7 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex";
copy->_container = _container;
copy->_masterTrackArray = [_masterTrackArray copy];
+ copy->_foreignAudioSearchTrackName = [_foreignAudioSearchTrackName copy];
copy->_tracks = [[NSMutableArray alloc] init];
[_tracks enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
@@ -439,6 +440,7 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex";
encodeInt(_container);
encodeObject(_masterTrackArray);
+ encodeObject(_foreignAudioSearchTrackName);
encodeObject(_tracks);
encodeObject(_defaults);
@@ -451,6 +453,7 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex";
decodeInt(_container);
decodeObject(_masterTrackArray);
+ decodeObject(_foreignAudioSearchTrackName);
decodeObject(_tracks);
decodeObject(_defaults);