Corrected logic for resetting streams.
parent
d7ddda160e
commit
87c0109773
|
@ -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];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue