set server config can dynamic add config for add multi ffmpeg cmd template

This commit is contained in:
xgj 2021-06-04 18:06:40 +08:00
parent 8f62365847
commit d74779dc02

View File

@ -401,7 +401,10 @@ void installWebApi() {
for (auto &pr : allArgs) {
if (ini.find(pr.first) == ini.end()) {
//没有这个key
continue;
//continue;
// 新增配置选项,为了动态添加多个ffmpeg cmd 模板
ini[pr.first] = pr.second;
continue;// 防止changed变化
}
if (ini[pr.first] == pr.second) {
continue;