mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
set server config can dynamic add config for add multi ffmpeg cmd template
This commit is contained in:
parent
8f62365847
commit
d74779dc02
@ -401,7 +401,10 @@ void installWebApi() {
|
|||||||
for (auto &pr : allArgs) {
|
for (auto &pr : allArgs) {
|
||||||
if (ini.find(pr.first) == ini.end()) {
|
if (ini.find(pr.first) == ini.end()) {
|
||||||
//没有这个key
|
//没有这个key
|
||||||
continue;
|
//continue;
|
||||||
|
// 新增配置选项,为了动态添加多个ffmpeg cmd 模板
|
||||||
|
ini[pr.first] = pr.second;
|
||||||
|
continue;// 防止changed变化
|
||||||
}
|
}
|
||||||
if (ini[pr.first] == pr.second) {
|
if (ini[pr.first] == pr.second) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user