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

Unified Diff: talk/app/webrtc/androidvideocapturer.cc

Issue 1655793003: Make cricket::VideoCapturer implement VideoSourceInterface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comments. Removed AddSink Created 4 years, 10 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: talk/app/webrtc/androidvideocapturer.cc
diff --git a/talk/app/webrtc/androidvideocapturer.cc b/talk/app/webrtc/androidvideocapturer.cc
index 6b0d51c5cca2b489162204cc70a3879688ef2223..418292d2c1d0aed85160769ecee9ea28022e656b 100644
--- a/talk/app/webrtc/androidvideocapturer.cc
+++ b/talk/app/webrtc/androidvideocapturer.cc
@@ -43,7 +43,8 @@ namespace webrtc {
// for ref counted I420 frames instead of this hack.
class AndroidVideoCapturer::FrameFactory : public cricket::VideoFrameFactory {
public:
- FrameFactory(const rtc::scoped_refptr<AndroidVideoCapturerDelegate>& delegate)
+ explicit FrameFactory(
+ const rtc::scoped_refptr<AndroidVideoCapturerDelegate>& delegate)
: delegate_(delegate) {
// Create a CapturedFrame that only contains header information, not the
// actual pixel data.
@@ -157,8 +158,6 @@ AndroidVideoCapturer::AndroidVideoCapturer(
formats.push_back(format);
}
SetSupportedFormats(formats);
- // Do not apply frame rotation by default.
- SetApplyRotation(false);
}
AndroidVideoCapturer::~AndroidVideoCapturer() {
« no previous file with comments | « no previous file | talk/app/webrtc/remotevideocapturer_unittest.cc » ('j') | webrtc/media/base/videobroadcaster.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698