Index: webrtc/common_video/i420_video_frame_unittest.cc |
diff --git a/webrtc/common_video/i420_video_frame_unittest.cc b/webrtc/common_video/i420_video_frame_unittest.cc |
index 8c97ca7ac4c0d7750136d9605800b6642658ea1e..9720d5b0f1a24a00cd9cfadc899b3d377d4a095b 100644 |
--- a/webrtc/common_video/i420_video_frame_unittest.cc |
+++ b/webrtc/common_video/i420_video_frame_unittest.cc |
@@ -114,7 +114,7 @@ void CheckRotate(int width, int height, webrtc::VideoRotation rotation, |
TEST(TestVideoFrame, WidthHeightValues) { |
VideoFrame frame(I420Buffer::Create(10, 10, 10, 14, 90), |
- webrtc::kVideoRotation_0, |
+ webrtc::kVideoRotation_0, webrtc::VideoContentType::kDefault, |
789 * rtc::kNumMicrosecsPerMillisec); |
const int valid_value = 10; |
EXPECT_EQ(valid_value, frame.width()); |
@@ -147,12 +147,9 @@ TEST(TestVideoFrame, ShallowCopy) { |
memset(buffer_u, 8, kSizeU); |
memset(buffer_v, 4, kSizeV); |
- VideoFrame frame1( |
- I420Buffer::Copy(width, height, |
- buffer_y, stride_y, |
- buffer_u, stride_u, |
- buffer_v, stride_v), |
- kRotation, 0); |
+ VideoFrame frame1(I420Buffer::Copy(width, height, buffer_y, stride_y, |
+ buffer_u, stride_u, buffer_v, stride_v), |
+ kRotation, VideoContentType::kDefault, 0); |
frame1.set_timestamp(timestamp); |
frame1.set_ntp_time_ms(ntp_time_ms); |
frame1.set_timestamp_us(timestamp_us); |