From d9d6e28f2500688d7b6e0fc4b1e5396f237b99cf Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 17 Mar 2017 15:01:00 +0100 Subject: [PATCH] MacGui: do not duplicate the subtitle source track each time the job is read again from disk. --- macosx/HBSubtitles.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.40.0