Index: webrtc/media/base/videocapturer.h |
diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h |
index c9c96eeb1d299cb06eaad73c8d4734cfdc357eac..9e0df86588bf28f0f52d68f7e475e8a3dcda8f22 100644 |
--- a/webrtc/media/base/videocapturer.h |
+++ b/webrtc/media/base/videocapturer.h |
@@ -175,6 +175,11 @@ class VideoCapturer : public sigslot::has_slots<>, |
// implement screencast specific behavior. |
virtual bool IsScreencast() const = 0; |
+ // Returns denoising preference. Unset means use encoder-specific default. |
+ rtc::Optional<bool> NeedsDenoising() const { |
pbos-webrtc
2016/09/12 14:50:45
virtual, since you want this to be overridden.
nisse-webrtc
2016/09/13 09:39:10
Fixed in next upload. Good catch.
|
+ return rtc::Optional<bool>(); |
+ } |
+ |
// Caps the VideoCapturer's format according to max_format. It can e.g. be |
// used to prevent cameras from capturing at a resolution or framerate that |
// the capturer is capable of but not performing satisfactorily at. |