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

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

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/media/engine/fakewebrtcvideocapturemodule.h
diff --git a/webrtc/media/engine/fakewebrtcvideocapturemodule.h b/webrtc/media/engine/fakewebrtcvideocapturemodule.h
index 0d5299922f1dd0a6c8634a1be075d0d2f55f0daf..b00e8dcf68a8e882846035ffed579e43db0a8036 100644
--- a/webrtc/media/engine/fakewebrtcvideocapturemodule.h
+++ b/webrtc/media/engine/fakewebrtcvideocapturemodule.h
@@ -71,8 +71,9 @@ class FakeWebRtcVideoCaptureModule : public webrtc::VideoCaptureModule {
// https://bugs.chromium.org/p/libyuv/issues/detail?id=377
buffer->InitializeData();
if (callback_) {
- callback_->OnFrame(
- webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0));
+ callback_->OnFrame(webrtc::VideoFrame(buffer, 0, 0,
+ webrtc::kVideoRotation_0,
+ webrtc::kVideoContent_Default));
}
}

Powered by Google App Engine
This is Rietveld 408576698