mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Remove log message if balanced/cpu speed field trial is not set.
Bug: none Change-Id: I4eb08517cacdb180085a4a5dd8649470b62f4600 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/208286 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33301}
This commit is contained in:
parent
16359f65c4
commit
ae096ef7a6
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,8 @@ bool IsValid(const BalancedDegradationSettings::CodecTypeSpecific& config1,
|
|||
|
||||
bool IsValid(const std::vector<BalancedDegradationSettings::Config>& configs) {
|
||||
if (configs.size() <= 1) {
|
||||
RTC_LOG(LS_WARNING) << "Unsupported size, value ignored.";
|
||||
if (configs.size() == 1)
|
||||
RTC_LOG(LS_WARNING) << "Unsupported size, value ignored.";
|
||||
return false;
|
||||
}
|
||||
for (const auto& config : configs) {
|
||||
|
|
|
@ -25,7 +25,6 @@ constexpr int kMaxSetting = -1;
|
|||
std::vector<CpuSpeedExperiment::Config> GetValidOrEmpty(
|
||||
const std::vector<CpuSpeedExperiment::Config>& configs) {
|
||||
if (configs.empty()) {
|
||||
RTC_LOG(LS_WARNING) << "Unsupported size, value ignored.";
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue