mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
修复目录级别错误
This commit is contained in:
parent
2384aa5bbd
commit
795860a019
@ -52,7 +52,7 @@ MP4Recorder::~MP4Recorder() {
|
|||||||
|
|
||||||
void MP4Recorder::createFile() {
|
void MP4Recorder::createFile() {
|
||||||
closeFile();
|
closeFile();
|
||||||
auto strDate = getTimeStr("%Y-%m-%d");
|
auto strDate = getTimeStr("%Y-%m");
|
||||||
auto strDay = getTimeStr("%Y-%m-%d");
|
auto strDay = getTimeStr("%Y-%m-%d");
|
||||||
auto strTime = getTimeStr("%H-%M-%S");
|
auto strTime = getTimeStr("%H-%M-%S");
|
||||||
auto strFileTmp = _strPath + strDate + "/" + strDay + "/." + strTime + ".mp4";
|
auto strFileTmp = _strPath + strDate + "/" + strDay + "/." + strTime + ".mp4";
|
||||||
|
Loading…
Reference in New Issue
Block a user