Code style change for quality_scaler.
TBR=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/52559004 Cr-Commit-Position: refs/heads/master@{#9257}
This commit is contained in:
parent
98d8cf58ee
commit
5af6d47d26
@ -56,7 +56,8 @@ QualityScaler::Resolution QualityScaler::GetScaledResolution(
|
||||
res.height = frame.height();
|
||||
|
||||
// Update scale factor.
|
||||
int avg_drop, avg_qp;
|
||||
int avg_drop = 0;
|
||||
int avg_qp = 0;
|
||||
if (framedrop_percent_.GetAverage(num_samples_, &avg_drop) &&
|
||||
avg_drop >= kFramedropPercentThreshold) {
|
||||
AdjustScale(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user