Fixed progressive connector.

This commit is contained in:
Thulinma 2013-07-04 16:28:15 +02:00
parent 04bc5842bd
commit 863cd6c8b6
2 changed files with 4 additions and 4 deletions

View file

@ -108,9 +108,10 @@ namespace Buffer {
//switch to next buffer
currsend = 0;
if (Stream::get()->getStream()->isNewest(myRing->b)){
//no next buffer? go in waiting mode.
myRing->waiting = true;
return false;
} //no next buffer? go in waiting mode.
}
myRing->b = Stream::get()->getStream()->getNext(myRing->b, allowedTracks);
if (Stream::get()->getStream()->getPacket(myRing->b).isMember("keyframe") && myRing->playCount > 0){
myRing->playCount--;