Index: webrtc/media/webrtc/webrtcvideocapturer.h |
diff --git a/webrtc/media/webrtc/webrtcvideocapturer.h b/webrtc/media/webrtc/webrtcvideocapturer.h |
index ef4dea48a176a733e3d90dc28987ee030708f2aa..4a046039262cb2c86874f727f9eca9fbc6de2103 100644 |
--- a/webrtc/media/webrtc/webrtcvideocapturer.h |
+++ b/webrtc/media/webrtc/webrtcvideocapturer.h |
@@ -50,15 +50,15 @@ class WebRtcVideoCapturer : public VideoCapturer, |
bool Init(webrtc::VideoCaptureModule* module); |
// Override virtual methods of the parent class VideoCapturer. |
- virtual bool GetBestCaptureFormat(const VideoFormat& desired, |
- VideoFormat* best_format); |
- virtual CaptureState Start(const VideoFormat& capture_format); |
- virtual void Stop(); |
- virtual bool IsRunning(); |
- virtual bool IsScreencast() const { return false; } |
- virtual bool SetApplyRotation(bool enable); |
+ bool GetBestCaptureFormat(const VideoFormat& desired, |
+ VideoFormat* best_format) override; |
+ CaptureState Start(const VideoFormat& capture_format) override; |
+ void Stop() override; |
+ bool IsRunning() override; |
+ bool IsScreencast() const override { return false; } |
protected: |
+ void OnSourceChangeRequested(const rtc::VideoSinkHints& hints) override; |
// Override virtual methods of the parent class VideoCapturer. |
virtual bool GetPreferredFourccs(std::vector<uint32_t>* fourccs); |