Fixed bug when you changed the playlist without having a next song queued up.
parent
fda5d50712
commit
85630c836a
|
@ -168,10 +168,13 @@
|
||||||
- (void)resetNextStreams
|
- (void)resetNextStreams
|
||||||
{
|
{
|
||||||
@synchronized (chainQueue) {
|
@synchronized (chainQueue) {
|
||||||
|
NSUInteger count = [chainQueue count];
|
||||||
[chainQueue removeAllObjects];
|
[chainQueue removeAllObjects];
|
||||||
}
|
|
||||||
|
|
||||||
[self endOfInputReached:bufferChain];
|
if (count) {
|
||||||
|
[self endOfInputReached:bufferChain];
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue