mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
For #2275, fix bug for transcode engine config param.
This commit is contained in:
parent
323306149d
commit
3eb3cb9b51
2 changed files with 2 additions and 1 deletions
|
@ -79,3 +79,4 @@ CONTRIBUTORS ordered by first contribution.
|
|||
* ghostsf<ghost_sf@163.com>
|
||||
* xbpeng121<53243357+xbpeng121@users.noreply.github.com>
|
||||
* johzzy<hellojinqiang@gmail.com>
|
||||
* stone<bluestn@163.com>
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue