Skip to content

Commit

Permalink
MacGui: do not duplicate the subtitle source track each time the job …
Browse files Browse the repository at this point in the history
…is read again from disk.
  • Loading branch information
galad87 committed Mar 17, 2017
1 parent 82f13c3 commit d9d6e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macosx/HBSubtitles.m
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ - (instancetype)initWithCoder:(NSCoder *)decoder
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])
Expand Down

0 comments on commit d9d6e28

Please sign in to comment.