diff options
author | Damiano Galassi <[email protected]> | 2017-03-17 15:01:00 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-03-17 15:01:00 +0100 |
commit | d9d6e28f2500688d7b6e0fc4b1e5396f237b99cf (patch) | |
tree | f923009405fed2a2838173c1b2f960221ac0355e | |
parent | 82f13c3020ac4c3c6191fe9ff5bc1859e833d0f3 (diff) |
MacGui: do not duplicate the subtitle source track each time the job is read again from disk.
-rw-r--r-- | macosx/HBSubtitles.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m index a45643c32..f0d224078 100644 --- a/macosx/HBSubtitles.m +++ b/macosx/HBSubtitles.m @@ -484,7 +484,7 @@ extern NSString *keySubTrackSrtFileURLBookmark; decodeCollectionOfObjects3(_sourceTracks, NSArray, NSDictionary, NSURL, NSData); #ifdef __SANDBOX_ENABLED__ - NSMutableArray *sourceTracks = [_sourceTracks mutableCopy]; + NSMutableArray *sourceTracks = [NSMutableArray array]; for (NSDictionary *sourceTrack in _sourceTracks) { if (sourceTrack[keySubTrackSrtFileURLBookmark]) |