Possible fix?
This commit is contained in:
parent
a1bbcefcf1
commit
2bcdb74917
1 changed files with 1 additions and 0 deletions
|
@ -992,6 +992,7 @@ namespace Mist {
|
||||||
}
|
}
|
||||||
//if this is a live stream, we might have just reached the live point.
|
//if this is a live stream, we might have just reached the live point.
|
||||||
//check where the next key is
|
//check where the next key is
|
||||||
|
nxtKeyNum[nxt.tid] = getKeyForTime(nxt.tid, thisPacket.getTime());
|
||||||
int nextPage = pageNumForKey(nxt.tid, nxtKeyNum[nxt.tid]+1);
|
int nextPage = pageNumForKey(nxt.tid, nxtKeyNum[nxt.tid]+1);
|
||||||
//are we live, and the next key hasn't shown up on another page? then we're waiting.
|
//are we live, and the next key hasn't shown up on another page? then we're waiting.
|
||||||
if (myMeta.live && currKeyOpen.count(nxt.tid) && (currKeyOpen[nxt.tid] == (unsigned int)nextPage || nextPage == -1)){
|
if (myMeta.live && currKeyOpen.count(nxt.tid) && (currKeyOpen[nxt.tid] == (unsigned int)nextPage || nextPage == -1)){
|
||||||
|
|
Loading…
Add table
Reference in a new issue