修复目录级别错误

This commit is contained in:
liuziloong 2020-01-20 15:22:20 +08:00
parent 2384aa5bbd
commit 795860a019

View File

@ -52,7 +52,7 @@ MP4Recorder::~MP4Recorder() {
void MP4Recorder::createFile() {
closeFile();
auto strDate = getTimeStr("%Y-%m-%d");
auto strDate = getTimeStr("%Y-%m");
auto strDay = getTimeStr("%Y-%m-%d");
auto strTime = getTimeStr("%H-%M-%S");
auto strFileTmp = _strPath + strDate + "/" + strDay + "/." + strTime + ".mp4";