diff options
Diffstat (limited to 'modules/desktop_capture/win/window_capturer_win_gdi.h')
-rw-r--r-- | modules/desktop_capture/win/window_capturer_win_gdi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/desktop_capture/win/window_capturer_win_gdi.h b/modules/desktop_capture/win/window_capturer_win_gdi.h index c954c230c9..5091458a12 100644 --- a/modules/desktop_capture/win/window_capturer_win_gdi.h +++ b/modules/desktop_capture/win/window_capturer_win_gdi.h @@ -24,7 +24,7 @@ namespace webrtc { class WindowCapturerWinGdi : public DesktopCapturer {
public:
- WindowCapturerWinGdi();
+ explicit WindowCapturerWinGdi(bool enumerate_current_process_windows);
// Disallow copy and assign
WindowCapturerWinGdi(const WindowCapturerWinGdi&) = delete;
@@ -61,6 +61,8 @@ class WindowCapturerWinGdi : public DesktopCapturer { WindowCaptureHelperWin window_capture_helper_;
+ bool enumerate_current_process_windows_;
+
// This map is used to avoid flickering for the case when SelectWindow() calls
// are interleaved with Capture() calls.
std::map<HWND, DesktopSize> window_size_map_;
|