Corrected logic for resetting streams.
This commit is contained in:
parent
d7ddda160e
commit
87c0109773
1 changed files with 4 additions and 5 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue