diff options
Diffstat (limited to 'modules/desktop_capture/win/wgc_capturer_win.h')
-rw-r--r-- | modules/desktop_capture/win/wgc_capturer_win.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/desktop_capture/win/wgc_capturer_win.h b/modules/desktop_capture/win/wgc_capturer_win.h index d9ee9d3fc6..30253d9db6 100644 --- a/modules/desktop_capture/win/wgc_capturer_win.h +++ b/modules/desktop_capture/win/wgc_capturer_win.h @@ -83,7 +83,8 @@ class ScreenEnumerator final : public SourceEnumerator { // capturer appropriate for the type of source they want to capture. class WgcCapturerWin : public DesktopCapturer { public: - WgcCapturerWin(std::unique_ptr<WgcCaptureSourceFactory> source_factory, + WgcCapturerWin(const DesktopCaptureOptions& options, + std::unique_ptr<WgcCaptureSourceFactory> source_factory, std::unique_ptr<SourceEnumerator> source_enumerator, bool allow_delayed_capturable_check); @@ -114,6 +115,8 @@ class WgcCapturerWin : public DesktopCapturer { DispatcherQueueOptions, ABI::Windows::System::IDispatcherQueueController**); + DesktopCaptureOptions options_; + // We need to either create or ensure that someone else created a // `DispatcherQueue` on the current thread so that events will be delivered // on the current thread rather than an arbitrary thread. A |