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

upload video files

上级 d8b190d2
......@@ -592,13 +592,12 @@ protected:
idx = 0;
pos = tsToProcess.begin();
for(auto &i:tsToProcess) {
// remove
fs::path fname(this->urlOut + "/" + videoFileTs2Name(i) + ".mp4");
fs::remove(fname);
if(idx < skip) {
idx++;
pos++;
// remove
fs::path fname(this->urlOut + "/" + videoFileTs2Name(i) + ".mp4");
fs::remove(fname);
continue;
}
tsNeedUpload[segHeadP] = i;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论