mamburu: Some more fixes

CQTexperiment
Chris Moeller 2013-10-12 14:01:21 -07:00
parent 1b818bcaa7
commit c088011fd5
2 changed files with 4 additions and 3 deletions

View File

@ -122,6 +122,7 @@
- (void)dealloc
{
[inputNode setShouldContinue:NO];
[[inputNode exitAtTheEndOfTheStream] signal];
[[inputNode semaphore] signal];
[[inputNode exitAtTheEndOfTheStream] wait]; // wait for decoder to be closed (see InputNode's -(void)process )
@ -198,8 +199,8 @@
- (BOOL)isRunning
{
InputNode *theInputNode = [self inputNode];
if (nil != theInputNode && [theInputNode shouldContinue] && ![theInputNode endOfStream])
InputNode *node = [self inputNode];
if (nil != node && [node shouldContinue] && ![node endOfStream])
{
return YES;
}

View File

@ -101,7 +101,7 @@
if ([keyPath isEqual:@"properties"]) {
//Setup converter!
//Inform something of properties change
//Disable support until it is properly implimented.
//Disable support until it is properly implemented.
//[controller inputFormatDidChange: propertiesToASBD([decoder properties])];
}
else if ([keyPath isEqual:@"metadata"]) {