| Index: webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h b/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h
|
| index d8e247e26a7563163e0e257d86055015f7035d9d..3ba73de7ea64a85c9821bd362adeffc1902abb69 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h
|
| @@ -265,8 +265,9 @@ class TestVp8Simulcast : public ::testing::Test {
|
| input_buffer_ = I420Buffer::Create(kDefaultWidth, kDefaultHeight,
|
| kDefaultWidth, half_width, half_width);
|
| input_buffer_->InitializeData();
|
| - input_frame_.reset(
|
| - new VideoFrame(input_buffer_, 0, 0, webrtc::kVideoRotation_0));
|
| + input_frame_.reset(new VideoFrame(input_buffer_, 0, 0,
|
| + webrtc::kVideoRotation_0,
|
| + webrtc::kVideoContent_Default));
|
| }
|
|
|
| void SetUpRateAllocator() {
|
| @@ -519,8 +520,9 @@ class TestVp8Simulcast : public ::testing::Test {
|
| settings_.width, half_width, half_width);
|
| input_buffer_->InitializeData();
|
|
|
| - input_frame_.reset(
|
| - new VideoFrame(input_buffer_, 0, 0, webrtc::kVideoRotation_0));
|
| + input_frame_.reset(new VideoFrame(input_buffer_, 0, 0,
|
| + webrtc::kVideoRotation_0,
|
| + webrtc::kVideoContent_Default));
|
|
|
| // The for loop above did not set the bitrate of the highest layer.
|
| settings_.simulcastStream[settings_.numberOfSimulcastStreams - 1]
|
| @@ -561,8 +563,9 @@ class TestVp8Simulcast : public ::testing::Test {
|
| input_buffer_ = I420Buffer::Create(settings_.width, settings_.height,
|
| settings_.width, half_width, half_width);
|
| input_buffer_->InitializeData();
|
| - input_frame_.reset(
|
| - new VideoFrame(input_buffer_, 0, 0, webrtc::kVideoRotation_0));
|
| + input_frame_.reset(new VideoFrame(input_buffer_, 0, 0,
|
| + webrtc::kVideoRotation_0,
|
| + webrtc::kVideoContent_Default));
|
| EXPECT_EQ(0, encoder_->Encode(*input_frame_, NULL, &frame_types));
|
| }
|
|
|
| @@ -854,8 +857,9 @@ class TestVp8Simulcast : public ::testing::Test {
|
| int stride_uv = ((kDefaultWidth + 1) / 2) + 5;
|
| input_buffer_ = I420Buffer::Create(kDefaultWidth, kDefaultHeight, stride_y,
|
| stride_uv, stride_uv);
|
| - input_frame_.reset(
|
| - new VideoFrame(input_buffer_, 0, 0, webrtc::kVideoRotation_0));
|
| + input_frame_.reset(new VideoFrame(input_buffer_, 0, 0,
|
| + webrtc::kVideoRotation_0,
|
| + webrtc::kVideoContent_Default));
|
|
|
| // Set color.
|
| int plane_offset[kNumOfPlanes];
|
|
|