diff options
author | Damiano Galassi <[email protected]> | 2019-08-14 07:21:48 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-08-14 07:21:48 +0200 |
commit | 4a710ddbff7f89bf96a993b8125e9d4e8d4a9fdf (patch) | |
tree | f50554ff272a23afef63ef802652235666045f2f /macosx/HBAudioDefaults.m | |
parent | f733d04817f949554176aed401c505a950c054b9 (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/HBAudioDefaults.m')
-rw-r--r-- | macosx/HBAudioDefaults.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m index 0dbef621b..b7ec8d20d 100644 --- a/macosx/HBAudioDefaults.m +++ b/macosx/HBAudioDefaults.m @@ -474,9 +474,11 @@ goto fail; } - decodeObjectOrFail(_trackSelectionLanguages, NSMutableArray); + decodeCollectionOfObjects(_trackSelectionLanguages, NSMutableArray, NSString); + if (_trackSelectionLanguages == nil) { goto fail; } decodeCollectionOfObjects(_tracksArray, NSMutableArray, HBAudioTrackPreset); + if (_tracksArray == nil) { goto fail; } decodeBool(_allowAACPassthru); decodeBool(_allowAC3Passthru); |