Fix wrong log message.
When scaling up or down the reason for scaling was flipped in the logs. BUG=None R=perkj@webrtc.org NOTRY=true Review-Url: https://codereview.webrtc.org/2563683002 Cr-Commit-Position: refs/heads/master@{#15652}
This commit is contained in:
parent
51813b3c77
commit
7e70fe2b96
@ -754,7 +754,7 @@ void ViEEncoder::ScaleUp(ScaleReason reason) {
|
||||
LOG(LS_INFO) << "Scaling up resolution.";
|
||||
for (size_t i = 0; i < kScaleReasonSize; ++i) {
|
||||
LOG(LS_INFO) << "Scaled " << scale_counter_[i]
|
||||
<< " times for reason: " << (i ? "quality" : "cpu");
|
||||
<< " times for reason: " << (i ? "cpu" : "quality");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user