From 3eb3cb9b5138a860d6eaece97029dace3e0a4c5e Mon Sep 17 00:00:00 2001 From: stone Date: Fri, 9 Apr 2021 07:22:15 +0800 Subject: [PATCH] For #2275, fix bug for transcode engine config param. --- AUTHORS.txt | 1 + trunk/src/app/srs_app_config.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 0ca801957..d4ac9381d 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -79,3 +79,4 @@ CONTRIBUTORS ordered by first contribution. * ghostsf * xbpeng121<53243357+xbpeng121@users.noreply.github.com> * johzzy +* stone diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index cbf710c7a..3aa06a661 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -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()); } } }