Actually try building on Windows.
This commit is contained in:
parent
68541f2ae8
commit
7639e4a32a
1 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,7 @@ using base::PlatformThreadRef;
|
|||
#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
|
||||
#if defined(OS_WIN)
|
||||
#include "third_party/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.h"
|
||||
#include "third_party/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.h"
|
||||
#include "ui/display/win/display_info.h"
|
||||
#endif // defined(OS_WIN)
|
||||
|
||||
|
@ -65,8 +66,9 @@ void StartHandlingTask(bool capture_window,
|
|||
.allow_directx_capturer()) {
|
||||
// DxgiDuplicatorController should be alive in this scope according to
|
||||
// screen_capturer_win.cc.
|
||||
auto duplicator = DxgiDuplicatorController::Instance();
|
||||
cap->using_directx_capturer_ = ScreenCapturerWinDirectx::IsSupported();
|
||||
auto duplicator = webrtc::DxgiDuplicatorController::Instance();
|
||||
cap->using_directx_capturer_ =
|
||||
webrtc::ScreenCapturerWinDirectx::IsSupported();
|
||||
}
|
||||
#endif // defined(OS_WIN)
|
||||
std::unique_ptr<webrtc::DesktopCapturer> screen_capturer(
|
||||
|
|
Loading…
Reference in a new issue