Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: webrtc/video/receive_statistics_proxy.cc

Issue 2584723003: Lower bad call logging severity (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/receive_statistics_proxy.cc
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc
index 6bf9a74cf9fdc8ba9273a37f136c50131e82697e..24fb7d8b79a0c512572bc483b8b14bf23f82e54d 100644
--- a/webrtc/video/receive_statistics_proxy.cc
+++ b/webrtc/video/receive_statistics_proxy.cc
@@ -232,33 +232,33 @@ void ReceiveStatisticsProxy::QualitySample() {
bool any_bad = fps_bad || qp_bad || variance_bad;
if (!prev_any_bad && any_bad) {
- LOG(LS_WARNING) << "Bad call (any) start: " << now;
+ LOG(LS_INFO) << "Bad call (any) start: " << now;
} else if (prev_any_bad && !any_bad) {
- LOG(LS_WARNING) << "Bad call (any) end: " << now;
+ LOG(LS_INFO) << "Bad call (any) end: " << now;
}
if (!prev_fps_bad && fps_bad) {
- LOG(LS_WARNING) << "Bad call (fps) start: " << now;
+ LOG(LS_INFO) << "Bad call (fps) start: " << now;
} else if (prev_fps_bad && !fps_bad) {
- LOG(LS_WARNING) << "Bad call (fps) end: " << now;
+ LOG(LS_INFO) << "Bad call (fps) end: " << now;
}
if (!prev_qp_bad && qp_bad) {
- LOG(LS_WARNING) << "Bad call (qp) start: " << now;
+ LOG(LS_INFO) << "Bad call (qp) start: " << now;
} else if (prev_qp_bad && !qp_bad) {
- LOG(LS_WARNING) << "Bad call (qp) end: " << now;
+ LOG(LS_INFO) << "Bad call (qp) end: " << now;
}
if (!prev_variance_bad && variance_bad) {
- LOG(LS_WARNING) << "Bad call (variance) start: " << now;
+ LOG(LS_INFO) << "Bad call (variance) start: " << now;
} else if (prev_variance_bad && !variance_bad) {
- LOG(LS_WARNING) << "Bad call (variance) end: " << now;
+ LOG(LS_INFO) << "Bad call (variance) end: " << now;
}
- LOG(LS_INFO) << "SAMPLE: sample_length: " << (now - last_sample_time_)
- << " fps: " << fps << " fps_bad: " << fps_bad << " qp: " << qp
- << " qp_bad: " << qp_bad << " variance_bad: " << variance_bad
- << " fps_variance: " << fps_variance;
+ LOG(LS_VERBOSE) << "SAMPLE: sample_length: " << (now - last_sample_time_)
+ << " fps: " << fps << " fps_bad: " << fps_bad << " qp: " << qp
+ << " qp_bad: " << qp_bad << " variance_bad: " << variance_bad
+ << " fps_variance: " << fps_variance;
last_sample_time_ = now;
qp_sample_.Reset();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698