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

upload video files

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