From 8ba3d78e868d6cc16922ac09a2f8c37278685a0b Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 14 Apr 2020 11:30:21 +0800 Subject: [PATCH] Refine logs for GSO --- trunk/src/app/srs_app_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 39ef44a76..f50ab799e 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -4812,7 +4812,7 @@ bool SrsConfig::get_rtc_server_gso() bool gso_disabled = false; #if !defined(__linux__) gso_disabled = true; - srs_warn("GSO is for Linux 4.18+ only"); + srs_warn("GSO is disabled, for Linux 4.18+ only"); #else #if LINUX_VERSION_CODE < KERNEL_VERSION(4,18,0) utsname un = {0}; @@ -4820,7 +4820,7 @@ bool SrsConfig::get_rtc_server_gso() if (r0 || strcmp(un.release, "4.18.0") < 0) { gso_disabled = true; } - srs_warn("GSO is for Linux 4.18+ only, r0=%d, %s", r0, un.release); + srs_warn("GSO is disabled, for Linux 4.18+ only, r0=%d, kernel=%s", r0, un.release); #endif #endif