diff --git a/server/WebApi.cpp b/server/WebApi.cpp index c6644c7b..5990a8fe 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -401,11 +401,15 @@ void installWebApi() { int changed = API::Success; for (auto &pr : allArgs) { if (ini.find(pr.first) == ini.end()) { +#if 1 //没有这个key - //continue; + continue; +#else // 新增配置选项,为了动态添加多个ffmpeg cmd 模板 ini[pr.first] = pr.second; - continue;// 防止changed变化 + // 防止changed变化 + continue; +#endif } if (ini[pr.first] == pr.second) { continue;