Index: webrtc/api/androidvideocapturer.cc |
diff --git a/webrtc/api/androidvideocapturer.cc b/webrtc/api/androidvideocapturer.cc |
index 4311fd7a2ea2fc9e727bf1d02b23d0bf2554d709..0814dae376324f9de58125fe952cefbed0e0267c 100644 |
--- a/webrtc/api/androidvideocapturer.cc |
+++ b/webrtc/api/androidvideocapturer.cc |
@@ -27,7 +27,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. |
@@ -141,8 +142,6 @@ AndroidVideoCapturer::AndroidVideoCapturer( |
formats.push_back(format); |
} |
SetSupportedFormats(formats); |
- // Do not apply frame rotation by default. |
- SetApplyRotation(false); |
} |
AndroidVideoCapturer::~AndroidVideoCapturer() { |