Corrected logic for resetting streams.

CQTexperiment
vspader 2009-02-28 22:02:26 -08:00
parent d7ddda160e
commit 87c0109773
1 changed files with 4 additions and 5 deletions

View File

@ -174,14 +174,13 @@
[anObject setShouldContinue:NO];
}
[chainQueue removeAllObjects];
if (endOfInputReached) {
[self endOfInputReached:bufferChain];
}
}
}
}
- (void)setShouldContinue:(BOOL)s
{
if (bufferChain)
@ -286,10 +285,10 @@
- (void)endOfInputPlayed
{
@synchronized(chainQueue) {
endOfInputReached = NO;
if ([chainQueue count] <= 0)
{
endOfInputReached = NO;
//End of playlist
[self stop];