Fixed autofix triggering too often.
This commit is contained in:
parent
26a57a1668
commit
73ecd2cfe6
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ int main(int argc, char** argv){
|
||||||
json_sts["vod"]["start"] = Util::epoch() - sts.conntime;
|
json_sts["vod"]["start"] = Util::epoch() - sts.conntime;
|
||||||
if ( !meta_sent){
|
if ( !meta_sent){
|
||||||
json_sts["vod"]["meta"] = source.getMeta();
|
json_sts["vod"]["meta"] = source.getMeta();
|
||||||
|
json_sts["vod"]["meta"]["is_fixed"] = 1;
|
||||||
for (JSON::ObjIter oIt = json_sts["vod"]["meta"]["tracks"].ObjBegin(); oIt != json_sts["vod"]["meta"]["tracks"].ObjEnd(); oIt++){
|
for (JSON::ObjIter oIt = json_sts["vod"]["meta"]["tracks"].ObjBegin(); oIt != json_sts["vod"]["meta"]["tracks"].ObjEnd(); oIt++){
|
||||||
oIt->second.removeMember("init");
|
oIt->second.removeMember("init");
|
||||||
oIt->second.removeMember("keys");
|
oIt->second.removeMember("keys");
|
||||||
|
|
Loading…
Add table
Reference in a new issue