Index: webrtc/api/androidvideocapturer.cc |
diff --git a/webrtc/api/androidvideocapturer.cc b/webrtc/api/androidvideocapturer.cc |
index 33e0d4170321aa0a7e8492dba1a4c446a4d167a2..bab1402edaf806481a32fab35502fb3f8ecbc26d 100644 |
--- a/webrtc/api/androidvideocapturer.cc |
+++ b/webrtc/api/androidvideocapturer.cc |
@@ -27,8 +27,7 @@ |
// for ref counted I420 frames instead of this hack. |
class AndroidVideoCapturer::FrameFactory : public cricket::VideoFrameFactory { |
public: |
- explicit FrameFactory( |
- const rtc::scoped_refptr<AndroidVideoCapturerDelegate>& delegate) |
+ FrameFactory(const rtc::scoped_refptr<AndroidVideoCapturerDelegate>& delegate) |
: delegate_(delegate) { |
// Create a CapturedFrame that only contains header information, not the |
// actual pixel data. |
@@ -142,6 +141,8 @@ |
formats.push_back(format); |
} |
SetSupportedFormats(formats); |
+ // Do not apply frame rotation by default. |
+ SetApplyRotation(false); |
} |
AndroidVideoCapturer::~AndroidVideoCapturer() { |