Use static copy of parameters while camera/sound is running

This commit is contained in:
Mr-Dave
2024-08-16 18:01:30 -06:00
parent a7ff96a0d2
commit 3332beff02
35 changed files with 629 additions and 745 deletions

View File

@@ -494,8 +494,8 @@ size_t mystrftime_base(cls_camera *cam, char *s, size_t max
break;
case '$': // thread name
if (cam->conf->device_name != "") {
cam->conf->device_name.copy(tempstr, PATH_MAX);
if (cam->cfg->device_name != "") {
cam->cfg->device_name.copy(tempstr, PATH_MAX);
} else {
++pos_userformat;
}