Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: webrtc/modules/desktop_capture/screen_capturer_win.cc

Issue 2099123002: [Chromoting] Improve DirectX capturer to support multiple outputs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix several lint errors Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/screen_capturer_win.cc
diff --git a/webrtc/modules/desktop_capture/screen_capturer_win.cc b/webrtc/modules/desktop_capture/screen_capturer_win.cc
index 7e7fbaa38fd34b67055aef9f6d10db42d6833fca..6a83bec1c522218e039063fa8f3177f6ade71562 100644
--- a/webrtc/modules/desktop_capture/screen_capturer_win.cc
+++ b/webrtc/modules/desktop_capture/screen_capturer_win.cc
@@ -24,7 +24,7 @@ namespace webrtc {
ScreenCapturer* ScreenCapturer::Create(const DesktopCaptureOptions& options) {
std::unique_ptr<ScreenCapturer> capturer;
if (options.allow_directx_capturer() &&
- ScreenCapturerWinDirectx::Initialize()) {
+ ScreenCapturerWinDirectx::IsSupported()) {
capturer.reset(new ScreenCapturerWinDirectx(options));
} else {
capturer.reset(new ScreenCapturerWinGdi(options));
« no previous file with comments | « webrtc/modules/desktop_capture/screen_capturer_unittest.cc ('k') | webrtc/modules/desktop_capture/win/d3d_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698