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

Unified Diff: webrtc/modules/video_coding/codecs/test/videoprocessor.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/videoprocessor.cc
diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
index 0bb04a99df03d7a193411ab829832e3092343e1a..5ad4e32e3049b0915292d0d6077705244b298d01 100644
--- a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
+++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
@@ -260,7 +260,8 @@ bool VideoProcessorImpl::ProcessFrame(int frame_number) {
}
uint32_t timestamp = FrameNumberToTimestamp(frame_number);
- VideoFrame source_frame(buffer, timestamp, 0, webrtc::kVideoRotation_0);
+ VideoFrame source_frame(buffer, timestamp, 0, webrtc::kVideoRotation_0,
+ webrtc::VideoContentType::kDefault);
// Store frame information during the different stages of encode and decode.
frame_infos_.emplace_back();

Powered by Google App Engine
This is Rietveld 408576698