1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #2275, fix bug for transcode engine config param.

This commit is contained in:
stone 2021-04-09 07:22:15 +08:00 committed by winlin
parent 323306149d
commit 3eb3cb9b51
2 changed files with 2 additions and 1 deletions

View file

@ -3925,7 +3925,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());
}
}
}