mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-30 16:27:36 +08:00
屏蔽动态添加配置文件的特性
This commit is contained in:
parent
9de39de88c
commit
89d0a9dedf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user