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

Unified Diff: webrtc/test/fake_decoder.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/test/fake_decoder.cc
diff --git a/webrtc/test/fake_decoder.cc b/webrtc/test/fake_decoder.cc
index 25f80779e2a0ea39a749d658e3e52bd0c4943704..3977bcf171fee61640e0cfa2a8a3e1a9ecb7ed29 100644
--- a/webrtc/test/fake_decoder.cc
+++ b/webrtc/test/fake_decoder.cc
@@ -31,7 +31,7 @@ int32_t FakeDecoder::Decode(const EncodedImage& input,
const CodecSpecificInfo* codec_specific_info,
int64_t render_time_ms) {
VideoFrame frame(I420Buffer::Create(config_.width, config_.height),
- webrtc::kVideoRotation_0,
+ webrtc::kVideoRotation_0, webrtc::kVideoContent_Default,
render_time_ms * rtc::kNumMicrosecsPerMillisec);
frame.set_timestamp(input._timeStamp);
frame.set_ntp_time_ms(input.ntp_time_ms_);

Powered by Google App Engine
This is Rietveld 408576698