| Index: webrtc/common_video/libyuv/scaler_unittest.cc
|
| diff --git a/webrtc/common_video/libyuv/scaler_unittest.cc b/webrtc/common_video/libyuv/scaler_unittest.cc
|
| index 6d026383a2c40b27d1cd6376fc491ec501e0d248..d70cadfa41a22148f7df77380ec8aec8d4a528a5 100644
|
| --- a/webrtc/common_video/libyuv/scaler_unittest.cc
|
| +++ b/webrtc/common_video/libyuv/scaler_unittest.cc
|
| @@ -104,7 +104,8 @@ TEST_F(TestScaler, ScaleSendingBufferTooSmall) {
|
| orig_buffer.get() + size_y_,
|
| orig_buffer.get() + size_y_ + size_uv_,
|
| width_, height_,
|
| - width_, half_width_, half_width_);
|
| + width_, half_width_, half_width_,
|
| + kVideoRotation_0);
|
| EXPECT_EQ(0, test_scaler_.Scale(test_frame_, &test_frame2));
|
| EXPECT_GT(width_ * height_, test_frame2.allocated_size(kYPlane));
|
| EXPECT_GT(size_uv_, test_frame2.allocated_size(kUPlane));
|
| @@ -372,7 +373,8 @@ void TestScaler::ScaleSequence(ScaleMethod method,
|
| frame_buffer.get() + size_y + size_uv,
|
| src_width, src_height,
|
| src_width, (src_width + 1) / 2,
|
| - (src_width + 1) / 2);
|
| + (src_width + 1) / 2,
|
| + kVideoRotation_0);
|
|
|
| start_clock = TickTime::MillisecondTimestamp();
|
| EXPECT_EQ(0, test_scaler_.Scale(input_frame, &output_frame));
|
|
|