1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Update srs_app_config.cpp (#2275)

bugfix: misleading error log information for transcode engine config param.
This commit is contained in:
stone 2021-04-09 07:16:00 +08:00 committed by GitHub
parent 47a7a5f825
commit bf58f915ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3796,7 +3796,7 @@ srs_error_t SrsConfig::check_normal_config()
&& e != "acodec" && e != "abitrate" && e != "asample_rate" && e != "achannels"
&& e != "aparams" && e != "output" && e != "perfile"
&& e != "iformat" && e != "oformat") {
return srs_error_new(ERROR_SYSTEM_CONFIG_INVALID, "illegal vhost.transcode.engine.%s of %s", m.c_str(), vhost->arg0().c_str());
return srs_error_new(ERROR_SYSTEM_CONFIG_INVALID, "illegal vhost.transcode.engine.%s of %s", e.c_str(), vhost->arg0().c_str());
}
}
}