Fix logging of unsupported video type

BUG=webrtc:15257

Change-Id: I9b51ed39d6010f49f307a40b20eec801eaf088bd
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/308881
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#40317}
This commit is contained in:
Philipp Hancke 2023-06-19 18:06:35 +02:00 committed by WebRTC LUCI CQ
parent 4e0bf2e5a1
commit 64d384ff29

View File

@ -254,7 +254,9 @@ class MediaTypesEnum : public IEnumMediaTypes {
std::next(it));
}
} else {
RTC_LOG(LS_WARNING) << "Unsupported video type: " << *it
RTC_LOG(LS_WARNING) << "Unsupported video type: "
<< rtc::ToString(
static_cast<int>(capability_.videoType))
<< ", using default preference list.";
}
}