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

pull/2324/head
stone 4 years ago committed by winlin
parent aae0f61165
commit 6da91f7dea

@ -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…
Cancel
Save