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

Unified Diff: webrtc/media/engine/fakewebrtcvideocapturemodule.h

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/engine/fakewebrtcvideocapturemodule.h
diff --git a/webrtc/media/engine/fakewebrtcvideocapturemodule.h b/webrtc/media/engine/fakewebrtcvideocapturemodule.h
index 0d5299922f1dd0a6c8634a1be075d0d2f55f0daf..3c4ff090a1923ed7b70c02606a2757d94e1efda9 100644
--- a/webrtc/media/engine/fakewebrtcvideocapturemodule.h
+++ b/webrtc/media/engine/fakewebrtcvideocapturemodule.h
@@ -72,7 +72,8 @@ class FakeWebRtcVideoCaptureModule : public webrtc::VideoCaptureModule {
buffer->InitializeData();
if (callback_) {
callback_->OnFrame(
- webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0));
+ webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0,
+ webrtc::VideoContentType::kDefault));
}
}

Powered by Google App Engine
This is Rietveld 408576698