Fixed no-bframes MKV input unnecessarily delaying the stream by 16 frames every keyframe
This commit is contained in:
parent
3d4a3852d8
commit
5a53701a88
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ namespace Mist{
|
||||||
// grab the next packet to output
|
// grab the next packet to output
|
||||||
packetData &p = pkts[rem % PKT_COUNT];
|
packetData &p = pkts[rem % PKT_COUNT];
|
||||||
if (!mustCalcOffsets || !maxDelay){
|
if (!mustCalcOffsets || !maxDelay){
|
||||||
|
initialized = true;
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
//Calculate the timeOffset when extracting the first frame
|
//Calculate the timeOffset when extracting the first frame
|
||||||
|
|
Loading…
Add table
Reference in a new issue