summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesDefaults.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-14 07:21:48 +0200
committerDamiano Galassi <[email protected]>2019-08-14 07:21:48 +0200
commit4a710ddbff7f89bf96a993b8125e9d4e8d4a9fdf (patch)
treef50554ff272a23afef63ef802652235666045f2f /macosx/HBSubtitlesDefaults.m
parentf733d04817f949554176aed401c505a950c054b9 (diff)
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.
Diffstat (limited to 'macosx/HBSubtitlesDefaults.m')
-rw-r--r--macosx/HBSubtitlesDefaults.m1
1 files changed, 1 insertions, 0 deletions
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);