Index: webrtc/media/base/videoframe_unittest.h |
diff --git a/webrtc/media/base/videoframe_unittest.h b/webrtc/media/base/videoframe_unittest.h |
index f19d0325d6a103b5e2f87d68fbcc21ac1ab0b10f..39985617c5ae6fcf209e746d3464e241ca9962b3 100644 |
--- a/webrtc/media/base/videoframe_unittest.h |
+++ b/webrtc/media/base/videoframe_unittest.h |
@@ -835,7 +835,7 @@ |
data_size, 0, webrtc::kVideoRotation_0)); \ |
int width_rotate = frame1.width(); \ |
int height_rotate = frame1.height(); \ |
- frame3.InitToEmptyBuffer(width_rotate, height_rotate); \ |
+ frame3.InitToEmptyBuffer(width_rotate, height_rotate, 0); \ |
libyuv::I420Mirror(frame2.video_frame_buffer()->DataY(), \ |
frame2.video_frame_buffer()->StrideY(), \ |
frame2.video_frame_buffer()->DataU(), \ |
@@ -847,8 +847,8 @@ |
frame3.video_frame_buffer()->MutableDataU(), \ |
frame3.video_frame_buffer()->StrideU(), \ |
frame3.video_frame_buffer()->MutableDataV(), \ |
- frame3.video_frame_buffer()->StrideV(), kWidth, \ |
- kHeight); \ |
+ frame3.video_frame_buffer()->StrideV(), \ |
+ kWidth, kHeight); \ |
EXPECT_TRUE(IsEqual(frame1, frame3, 0)); \ |
} |
@@ -873,7 +873,7 @@ |
data_size, 0, webrtc::kVideoRotation_0)); \ |
int width_rotate = frame1.width(); \ |
int height_rotate = frame1.height(); \ |
- frame3.InitToEmptyBuffer(width_rotate, height_rotate); \ |
+ frame3.InitToEmptyBuffer(width_rotate, height_rotate, 0); \ |
libyuv::I420Rotate(frame2.video_frame_buffer()->DataY(), \ |
frame2.video_frame_buffer()->StrideY(), \ |
frame2.video_frame_buffer()->DataU(), \ |
@@ -885,8 +885,8 @@ |
frame3.video_frame_buffer()->MutableDataU(), \ |
frame3.video_frame_buffer()->StrideU(), \ |
frame3.video_frame_buffer()->MutableDataV(), \ |
- frame3.video_frame_buffer()->StrideV(), kWidth, \ |
- kHeight, libyuv::kRotate##ROTATE); \ |
+ frame3.video_frame_buffer()->StrideV(), \ |
+ kWidth, kHeight, libyuv::kRotate##ROTATE); \ |
EXPECT_TRUE(IsEqual(frame1, frame3, 0)); \ |
} |
@@ -1480,7 +1480,7 @@ |
out, |
out_size, stride)); |
} |
- frame2.InitToEmptyBuffer(kWidth, kHeight); |
+ frame2.InitToEmptyBuffer(kWidth, kHeight, 0); |
for (int i = 0; i < repeat_from; ++i) { |
EXPECT_EQ(0, RGBToI420(out, stride, |
frame2.video_frame_buffer()->MutableDataY(), |