提交 bb5c1764 authored 作者: blu's avatar blu

upload video files

上级 f307e62c
......@@ -676,7 +676,7 @@ protected:
else {
int idxS, idxE;
int delta = bSegFull? numSlices : 0;
for(int i = segHead + delta; i > _itss; i--) {
for(int i = segHead - 1 + delta; i >= _itss; i--) {
if(vTsActive[segToIdx(i)] == 0) {
continue;
}
......@@ -826,8 +826,8 @@ public:
long offsetE = 0;
// TODO: async
if(tse < bootTime) {
spdlog::warn("evslicer {} discard old msg {}", selfId, evt);
if(tss < this->bootTime) {
spdlog::warn("evslicer {} discard old msg {}, bootTime {}", selfId, evt, this->bootTime);
continue;
}
this_thread::sleep_for(chrono::seconds(this->seconds + 5));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论