v.2.0.t5
Found the write out bug. genEventPath() was getting unexpected input causing it to output empty strings.
This commit is contained in:
parent
bddde644c1
commit
0f6e7603df
|
@ -37,7 +37,7 @@ using namespace std;
|
|||
using namespace std::filesystem;
|
||||
using namespace std::chrono;
|
||||
|
||||
#define APP_VER "2.0.t4"
|
||||
#define APP_VER "2.0.t5"
|
||||
#define APP_NAME "Motion Watch"
|
||||
#define REC_LOG_NAME "rec_log_lines.html"
|
||||
#define DET_LOG_NAME "det_log_lines.html"
|
||||
|
|
|
@ -36,7 +36,7 @@ void detectMoInStream(const string &bufPath, shared_t *share)
|
|||
if (moDetect(clip.clipPath, clip.thumbnail, share))
|
||||
{
|
||||
clip.fileName = genTimeStr("%Y-%j-%H-%M");
|
||||
clip.dstPath = genEventPath(bufPath);
|
||||
clip.dstPath = genEventPath(clip.clipPath);
|
||||
clip.createTime = genEpoch();
|
||||
|
||||
share->skipCmd = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user