diff options
-rw-r--r-- | macosx/HBQueue.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/HBQueue.m b/macosx/HBQueue.m index 21348c3ce..c6b0a882e 100644 --- a/macosx/HBQueue.m +++ b/macosx/HBQueue.m @@ -106,9 +106,12 @@ NSString * const HBQueueItemNotificationItemKey = @"HBQueueItemNotificationItemK - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { - if (context == HBQueueContext && self.isEncoding) + if (context == HBQueueContext) { - [self encodeNextQueueItem]; + if (self.isEncoding) + { + [self encodeNextQueueItem]; + } } else { |