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

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