Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

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: Set EncodedImage content_type from vie_encoder Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 358e177e3b85ec1766e6a0604346a2d81faa909e..f1b6f5ec0179bb0f75763c5f5b0206923ebf2a5c 100644
--- a/webrtc/modules/video_coding/video_sender_unittest.cc
+++ b/webrtc/modules/video_coding/video_sender_unittest.cc
@@ -78,7 +78,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::kVideoContent_Default, 0));
return frame_.get();
}

Powered by Google App Engine
This is Rietveld 408576698