mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix windows desktop_capturer build
This commit is contained in:
@@ -91,7 +91,7 @@ void OnRefreshFinishedTask(atom::api::DesktopCapturer* cap) {
|
||||
// to provide an association between it and desktopCapturer/getUserMedia.
|
||||
// This is only required when using the DirectX capturer, otherwise the IDs
|
||||
// across the APIs already match.
|
||||
if (using_directx_capturer_) {
|
||||
if (cap->using_directx_capturer_) {
|
||||
std::vector<std::string> device_names;
|
||||
// Crucially, this list of device names will be in the same order as
|
||||
// |media_list_sources|.
|
||||
|
||||
Reference in New Issue
Block a user