diff options
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 537e8c86b..8c020539b 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -582,8 +582,11 @@ // Tell HB to output a new activity log file for this encode self.currentLog = [[HBJobOutputFileWriter alloc] initWithJob:nextJob]; - [[HBOutputRedirect stderrRedirect] addListener:self.currentLog]; - [[HBOutputRedirect stdoutRedirect] addListener:self.currentLog]; + if (self.currentLog) + { + [[HBOutputRedirect stderrRedirect] addListener:self.currentLog]; + [[HBOutputRedirect stdoutRedirect] addListener:self.currentLog]; + } self.currentJob = nextJob; [self reloadQueueItemAtIndex:[self.jobs indexOfObject:nextJob]]; |