Index: webrtc/modules/desktop_capture/desktop_capture_options.h |
diff --git a/webrtc/modules/desktop_capture/desktop_capture_options.h b/webrtc/modules/desktop_capture/desktop_capture_options.h |
index 68bb5884459ea13fe569a8e0d10483091f1f0450..167c6b2a16eddd253047ecd8b335f978f078d877 100644 |
--- a/webrtc/modules/desktop_capture/desktop_capture_options.h |
+++ b/webrtc/modules/desktop_capture/desktop_capture_options.h |
@@ -83,6 +83,10 @@ class DesktopCaptureOptions { |
void set_allow_use_magnification_api(bool allow) { |
allow_use_magnification_api_ = allow; |
} |
+ bool use_directx_capturer() const { return use_directx_capturer_; } |
Sergey Ulanov
2016/04/14 23:10:42
Maybe call it allow_directx_capturer? The new capt
Hzj_jie
2016/04/15 19:42:17
Done.
|
+ void set_use_directx_capturer(bool enabled) { |
+ use_directx_capturer_ = enabled; |
+ } |
#endif |
private: |
@@ -98,6 +102,7 @@ class DesktopCaptureOptions { |
#if defined(WEBRTC_WIN) |
bool allow_use_magnification_api_; |
+ bool use_directx_capturer_; |
#endif |
bool use_update_notifications_; |
bool disable_effects_; |