Fixed no-bframes MKV input unnecessarily delaying the stream by 16 frames every keyframe

This commit is contained in:
Thulinma 2020-09-22 23:47:38 +02:00
parent 3d4a3852d8
commit 5a53701a88

View file

@ -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