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

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: Fix Mac CE 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..8b324bc8e7a0c7b05a0cc402a5bd6349b8793368 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,
+ VideoContentType::kDefault, 0));
fclose(source_file_);
encoder_.reset(CreateEncoder());

Powered by Google App Engine
This is Rietveld 408576698