diff options
Diffstat (limited to 'webrtc/modules/video_capture/video_capture_impl.h')
-rw-r--r-- | webrtc/modules/video_capture/video_capture_impl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webrtc/modules/video_capture/video_capture_impl.h b/webrtc/modules/video_capture/video_capture_impl.h index 75fe7e5bae..aba15f2ac0 100644 --- a/webrtc/modules/video_capture/video_capture_impl.h +++ b/webrtc/modules/video_capture/video_capture_impl.h @@ -68,6 +68,10 @@ public: virtual void SetCaptureDelay(int32_t delayMS); virtual int32_t CaptureDelay(); virtual int32_t SetCaptureRotation(VideoCaptureRotation rotation); + virtual bool SetApplyRotation(bool enable); + virtual bool GetApplyRotation() { + return apply_rotation_; + } virtual void EnableFrameRateCallback(const bool enable); virtual void EnableNoPictureAlarm(const bool enable); @@ -140,6 +144,9 @@ private: // Delta used for translating between NTP and internal timestamps. const int64_t delta_ntp_internal_ms_; + + // Indicate whether rotation should be applied before delivered externally. + bool apply_rotation_; }; } // namespace videocapturemodule } // namespace webrtc |