Only accept keyframes when we are actually accepted
This commit is contained in:
parent
2bcdb74917
commit
91c226e4af
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ namespace Mist {
|
|||
}
|
||||
//Determine if we need to open the next page
|
||||
int nextPageNum = -1;
|
||||
if (isKeyframe) {
|
||||
if (isKeyframe && trackState[tid] == FILL_ACC) {
|
||||
//If there is no page, create it
|
||||
if (!pagesByTrack.count(tid) || pagesByTrack[tid].size() == 0) {
|
||||
nextPageNum = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue