Chromium Code Reviews

Unified Diff: webrtc/modules/video_coding/video_sender_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/modules/video_coding/video_sender_unittest.cc
diff --git a/webrtc/modules/video_coding/video_sender_unittest.cc b/webrtc/modules/video_coding/video_sender_unittest.cc
index a6391ba86038c33f18f97df4e1bff6c5522913a2..9180c6958a927dae5e26f5fe8d936274196073a4 100644
--- a/webrtc/modules/video_coding/video_sender_unittest.cc
+++ b/webrtc/modules/video_coding/video_sender_unittest.cc
@@ -77,7 +77,8 @@ class EmptyFrameGenerator : public FrameGenerator {
EmptyFrameGenerator(int width, int height) : width_(width), height_(height) {}
VideoFrame* NextFrame() override {
frame_.reset(new VideoFrame(I420Buffer::Create(width_, height_),
- webrtc::kVideoRotation_0, 0));
+ webrtc::kVideoRotation_0,
+ webrtc::VideoContentType::kDefault, 0));
return frame_.get();
}

Powered by Google App Engine