Chromium Code Reviews

Unified Diff: webrtc/common_video/libyuv/libyuv_unittest.cc

Issue 2772033002: Add content type information to encoded images and corresponding rtp extension header (Closed)
Patch Set: Fix Mac CE Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/common_video/libyuv/libyuv_unittest.cc
diff --git a/webrtc/common_video/libyuv/libyuv_unittest.cc b/webrtc/common_video/libyuv/libyuv_unittest.cc
index 8f421f3038d17c0f8ebad2ebc23ae241a58eaff6..9de5b39be652cd7ae7221253a17db91de8c61e18 100644
--- a/webrtc/common_video/libyuv/libyuv_unittest.cc
+++ b/webrtc/common_video/libyuv/libyuv_unittest.cc
@@ -65,7 +65,8 @@ void TestLibYuv::SetUp() {
rtc::scoped_refptr<VideoFrameBuffer> buffer(
test::ReadI420Buffer(width_, height_, source_file_));
- orig_frame_.reset(new VideoFrame(buffer, kVideoRotation_0, 0));
+ orig_frame_.reset(
+ new VideoFrame(buffer, kVideoRotation_0, VideoContentType::kDefault, 0));
}
void TestLibYuv::TearDown() {

Powered by Google App Engine