From 4a710ddbff7f89bf96a993b8125e9d4e8d4a9fdf Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Wed, 14 Aug 2019 07:21:48 +0200 Subject: MacGui: fix an exception when reading an HBJob from disk; do not store previews image when scanning the title in the queue; set the log level immediately; improve progress info when the pass number is not set yet. --- macosx/HBSubtitlesDefaults.m | 1 + 1 file changed, 1 insertion(+) (limited to 'macosx/HBSubtitlesDefaults.m') diff --git a/macosx/HBSubtitlesDefaults.m b/macosx/HBSubtitlesDefaults.m index bfbe824c0..dfd71d3de 100644 --- a/macosx/HBSubtitlesDefaults.m +++ b/macosx/HBSubtitlesDefaults.m @@ -231,6 +231,7 @@ goto fail; } decodeCollectionOfObjects(_trackSelectionLanguages, NSMutableArray, NSString); + if (_trackSelectionLanguages == nil) { goto fail; } decodeBool(_addForeignAudioSearch); decodeBool(_addForeignAudioSubtitle); -- cgit v1.2.3