summaryrefslogtreecommitdiffstats
path: root/macosx/HandBrakeKitTests
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-15 07:39:10 +0200
committerDamiano Galassi <[email protected]>2019-08-15 07:39:10 +0200
commitba6c7ff5b3f5d4f680869727b01037dc6ab42e1e (patch)
tree014195cf7612ddddc89de892450c3237ae3e35c4 /macosx/HandBrakeKitTests
parentc8e8231c381b03fc02f3fe8410dc851af8591ac6 (diff)
MacGui: make use of some newer NSCoding api to better report decoding failure.
Diffstat (limited to 'macosx/HandBrakeKitTests')
-rw-r--r--macosx/HandBrakeKitTests/HBJobTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HandBrakeKitTests/HBJobTests.m b/macosx/HandBrakeKitTests/HBJobTests.m
index 9848bbe5b..e61df46d8 100644
--- a/macosx/HandBrakeKitTests/HBJobTests.m
+++ b/macosx/HandBrakeKitTests/HBJobTests.m
@@ -46,7 +46,7 @@
dispatch_semaphore_t sem = dispatch_semaphore_create(0);
self.core = [[HBCore alloc] initWithLogLevel:1 queue:self.queue];
- [self.core scanURL:sampleURL titleIndex:0 previews:1 minDuration:0 progressHandler:^(HBState state, HBProgress progress, NSString * _Nonnull info) {
+ [self.core scanURL:sampleURL titleIndex:0 previews:1 minDuration:0 keepPreviews:NO progressHandler:^(HBState state, HBProgress progress, NSString * _Nonnull info) {
} completionHandler:^(HBCoreResult result) {
dispatch_semaphore_signal(sem);