Fixed progressive connector.
This commit is contained in:
parent
04bc5842bd
commit
863cd6c8b6
2 changed files with 4 additions and 4 deletions
|
|
@ -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--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue