Fixed bug when you changed the playlist without having a next song queued up.

CQTexperiment
vspader 2009-02-28 11:01:49 -08:00
parent fda5d50712
commit 85630c836a
1 changed files with 5 additions and 2 deletions

View File

@ -168,10 +168,13 @@
- (void)resetNextStreams
{
@synchronized (chainQueue) {
NSUInteger count = [chainQueue count];
[chainQueue removeAllObjects];
}
[self endOfInputReached:bufferChain];
if (count) {
[self endOfInputReached:bufferChain];
}
}
}