summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r--macosx/HBQueueController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index b54143ff2..7ae19da3e 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -468,8 +468,8 @@
self.progressTextField.stringValue = status;
[self.controller setQueueInfo:status progress:0 hidden:NO];
}
- completionHandler:^(BOOL success) {
- if (success)
+ completionHandler:^(HBCoreResult result) {
+ if (result == HBCoreResultDone)
{
[self doEncodeQueueItem];
}
@@ -538,7 +538,7 @@
self.progressTextField.stringValue = string;
[self.controller setQueueInfo:string progress:progress hidden:NO];
}
- completionHandler:^(BOOL success) {
+ completionHandler:^(HBCoreResult result) {
NSString *info = NSLocalizedString(@"Encode Finished.", @"");
self.progressTextField.stringValue = info;