Skip to content

Commit

Permalink
MacGui: handle all KVO messages, fixes HandBrake#2796 .
Browse files Browse the repository at this point in the history
  • Loading branch information
galad87 committed Apr 26, 2020
1 parent 1f09b74 commit 5b87b88
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions macosx/HBQueue.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@ - (void)setUpObservers

- (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
{
Expand Down

0 comments on commit 5b87b88

Please sign in to comment.