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

Unified Diff: webrtc/modules/video_coding/codecs/test/video_codec_test.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/codecs/test/video_codec_test.cc
diff --git a/webrtc/modules/video_coding/codecs/test/video_codec_test.cc b/webrtc/modules/video_coding/codecs/test/video_codec_test.cc
index d0d86ce4d7a308b58c3283034f11ff7076c146f2..c4bf44172d2837b1ffb414ba45eac19bab9ded81 100644
--- a/webrtc/modules/video_coding/codecs/test/video_codec_test.cc
+++ b/webrtc/modules/video_coding/codecs/test/video_codec_test.cc
@@ -54,7 +54,8 @@ void VideoCodecTest::SetUp() {
ASSERT_TRUE(source_file_ != NULL);
rtc::scoped_refptr<VideoFrameBuffer> video_frame_buffer(
test::ReadI420Buffer(kWidth, kHeight, source_file_));
- input_frame_.reset(new VideoFrame(video_frame_buffer, kVideoRotation_0, 0));
+ input_frame_.reset(new VideoFrame(video_frame_buffer, kVideoRotation_0,
+ kVideoContent_Default, 0));
fclose(source_file_);
encoder_.reset(CreateEncoder());

Powered by Google App Engine
This is Rietveld 408576698