From 91c226e4af973f8fa6839dbb1d4542d58582a66a Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Thu, 19 May 2016 15:16:30 +0200 Subject: [PATCH] Only accept keyframes when we are actually accepted --- src/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.cpp b/src/io.cpp index 60862037..8a7273f0 100644 --- a/src/io.cpp +++ b/src/io.cpp @@ -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;