From 5a53701a883277b55aa746cb63a818ba16915392 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 22 Sep 2020 23:47:38 +0200 Subject: [PATCH] Fixed no-bframes MKV input unnecessarily delaying the stream by 16 frames every keyframe --- src/input/input_ebml.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/input_ebml.h b/src/input/input_ebml.h index a740b821..68c06914 100644 --- a/src/input/input_ebml.h +++ b/src/input/input_ebml.h @@ -58,6 +58,7 @@ namespace Mist{ // grab the next packet to output packetData &p = pkts[rem % PKT_COUNT]; if (!mustCalcOffsets || !maxDelay){ + initialized = true; return p; } //Calculate the timeOffset when extracting the first frame