Index: webrtc/modules/video_coding/utility/quality_scaler_unittest.cc |
diff --git a/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc b/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc |
index bad73a748c678e32a7ef18ce481af9ca2c3d84e6..5e6218b2496e293bceb812e499ac1ac097879db4 100644 |
--- a/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc |
+++ b/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc |
@@ -46,7 +46,8 @@ class QualityScalerTest : public ::testing::Test { |
QualityScalerTest() { |
input_frame_.CreateEmptyFrame(kWidth, kHeight, kWidth, kHalfWidth, |
kHalfWidth); |
- qs_.Init(kMaxQp / QualityScaler::kDefaultLowQpDenominator, kHighQp, false); |
+ qs_.Init(kMaxQp / QualityScaler::kDefaultLowQpDenominator, kHighQp, false, |
+ 0, 0, 0); |
pbos-webrtc
2016/02/10 13:43:21
Add tests for this with non-zero values.
AlexG
2016/02/10 19:07:17
Done.
|
qs_.ReportFramerate(kFramerate); |
qs_.OnEncodeFrame(input_frame_); |
} |
@@ -298,7 +299,7 @@ void QualityScalerTest::VerifyQualityAdaptation( |
bool expect_framerate_reduction) { |
const int kDisabledBadQpThreshold = kMaxQp + 1; |
qs_.Init(kMaxQp / QualityScaler::kDefaultLowQpDenominator, |
- kDisabledBadQpThreshold, true); |
+ kDisabledBadQpThreshold, true, 0, 0, 0); |
qs_.OnEncodeFrame(input_frame_); |
int init_width = qs_.GetScaledResolution().width; |
int init_height = qs_.GetScaledResolution().height; |