Fixed more live stuff.
This commit is contained in:
parent
a17f6d06fd
commit
3fa253c297
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ namespace Mist {
|
|||
}
|
||||
|
||||
void Output::bufferPacket(JSON::Value & pack){
|
||||
if (!pack["trackid"].asInt()){return;}
|
||||
if (myMeta.tracks[pack["trackid"].asInt()].type != "video"){
|
||||
if ((pack["time"].asInt() - bookKeeping[trackMap[pack["trackid"].asInt()]].lastKeyTime) >= 5000){
|
||||
pack["keyframe"] = 1LL;
|
||||
|
|
Loading…
Add table
Reference in a new issue