提交 5e2f23c4 authored 作者: blu's avatar blu

init

上级 d99a38ad
......@@ -408,9 +408,10 @@ private:
}
unique_lock<mutex> lk(this->mutMsg);
bool got = this->cvMsg.wait_for(lk, 30s, [this] {return this->gotFormat;});
if(got){
if(got) {
}else{
}
else {
// restart
spdlog::error("evmlmotion {} failed wait for avformatctx for {}s, restart", devSn, 30);
exit(1);
......@@ -511,7 +512,7 @@ private:
// lock the value
factor = int(int(this->pps) / this->detPara.fpsProc); // regulator to 0 if it was set inresonably high
if(factor > 8) {
factor = 8;
factor = 8;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论