summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-21 06:32:22 +0000
committerritsuka <[email protected]>2014-12-21 06:32:22 +0000
commitb4a65e7027fc060c8df9deae30a2a3ab460be520 (patch)
tree1e7c057ff310541aef9aeb602e1f170cfd55d7c2
parent111e1c720a257569d1fc955ef39aa25409dca8f4 (diff)
MacGui: add some more logs in HBCore.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6632 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBCore.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m
index d58c02520..84fc15cd5 100644
--- a/macosx/HBCore.m
+++ b/macosx/HBCore.m
@@ -218,11 +218,15 @@ NSString *HBCoreMuxingNotification = @"HBCoreMuxingNotification";
}
self.titles = [[titles copy] autorelease];
+
+ [HBUtilities writeToActivityLog:"%s scan done", self.name.UTF8String];
}
- (void)cancelScan
{
hb_scan_stop(_hb_handle);
+
+ [HBUtilities writeToActivityLog:"%s scan cancelled", self.name.UTF8String];
}
#pragma mark - Encodes
@@ -239,6 +243,8 @@ NSString *HBCoreMuxingNotification = @"HBCoreMuxingNotification";
// to reflect the current state instead of
// waiting for libhb to set it in a background thread.
self.state = HBStateWorking;
+
+ [HBUtilities writeToActivityLog:"%s work started", self.name.UTF8String];
}
- (void)workDone
@@ -249,12 +255,16 @@ NSString *HBCoreMuxingNotification = @"HBCoreMuxingNotification";
hb_job_t *job;
while ((job = hb_job(_hb_handle, 0)))
hb_rem(_hb_handle, job);
+
+ [HBUtilities writeToActivityLog:"%s work done", self.name.UTF8String];
}
- (void)stop
{
hb_stop(_hb_handle);
hb_system_sleep_allow(_hb_handle);
+
+ [HBUtilities writeToActivityLog:"%s stop", self.name.UTF8String];
}