Corrected logic for resetting streams.

This commit is contained in:
vspader 2009-02-28 22:02:26 -08:00
parent d7ddda160e
commit 87c0109773

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) {
if ([chainQueue count] <= 0)
{
endOfInputReached = NO; endOfInputReached = NO;
if ([chainQueue count] <= 0)
{
//End of playlist //End of playlist
[self stop]; [self stop];