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

Unified Diff: webrtc/media/base/videocapturer.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/media/base/videocapturer.cc
diff --git a/webrtc/media/base/videocapturer.cc b/webrtc/media/base/videocapturer.cc
index efd075d4d08f795faa29dd81726dec5736fbb272..ce85b1567adb3fb60abe55ec26351aa71d0bfa53 100644
--- a/webrtc/media/base/videocapturer.cc
+++ b/webrtc/media/base/videocapturer.cc
@@ -215,7 +215,7 @@ void VideoCapturer::OnFrame(const webrtc::VideoFrame& frame,
}
broadcaster_.OnFrame(webrtc::VideoFrame(
webrtc::I420Buffer::Rotate(*buffer, frame.rotation()),
- webrtc::kVideoRotation_0, frame.timestamp_us()));
+ webrtc::kVideoRotation_0, frame.content_type(), frame.timestamp_us()));
} else {
broadcaster_.OnFrame(frame);
}

Powered by Google App Engine
This is Rietveld 408576698