Fix windows desktop_capturer build
This commit is contained in:
parent
42c37cc26d
commit
2720fa751b
1 changed files with 1 additions and 1 deletions
|
@ -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|.
|
||||
|
|
Loading…
Reference in a new issue