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:
kthelgason 2016-12-16 03:46:48 -08:00 committed by Commit bot
parent 51813b3c77
commit 7e70fe2b96

View File

@ -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");
}
}