From 2769e41258023ba16eb770dd37c1ab6585a1518b Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 5 Dec 2014 21:40:36 +0100 Subject: [PATCH] Fixed keysizes not being properly wiped when the stream buffer is. --- src/input/input_buffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index 223bb8ff..71ba881b 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -84,6 +84,7 @@ namespace Mist { } //remove the key itself myMeta.tracks[tid].keys.pop_front(); + myMeta.tracks[tid].keySizes.pop_front(); //re-calculate firstms myMeta.tracks[tid].firstms = myMeta.tracks[tid].keys[0].getTime(); //delete the fragment if it's no longer fully buffered