Reduces log spam from the WGC capturer on Win 24H2
When the WGC capturer runs on Win 24H2, the behavior has changed and an
error log is causing a huge amount of log messages. The log was spammy
also before so let's switch to LS_VERBOSE instead.
Bug: None
Change-Id: I43e2ea21c71d835d10fdc3b65cf49d7d43a40b3b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/397081
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Henrik Andreassson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#44978}
diff --git a/modules/desktop_capture/win/wgc_capture_session.cc b/modules/desktop_capture/win/wgc_capture_session.cc
index 039a49c..f024349 100644
--- a/modules/desktop_capture/win/wgc_capture_session.cc
+++ b/modules/desktop_capture/win/wgc_capture_session.cc
@@ -237,7 +237,7 @@
// We failed to process the frame, but we do have a frame so just return that.
if (queue_.current_frame()) {
- RTC_LOG(LS_ERROR) << "ProcessFrame failed, using existing frame: " << hr;
+ RTC_LOG(LS_VERBOSE) << "ProcessFrame failed, using existing frame: " << hr;
return;
}