diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-11-14 12:43:36 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-11-22 21:21:16 +0100 |
commit | f38fdec3a651ef2384f244018eac0a7260c45e37 (patch) | |
tree | 438f08449e8db7134b335a336840db52371d964e /src/core/media_capture_devices_dispatcher.cpp | |
parent | 6b25e22685cfe434bb17db006c33db7341ca7028 (diff) |
Re-enable X11 WebRTC support for desktop sharing
With corresponding fixes in chromium, we should now again be able to
support WebRTC desktop sharing with X11.
Fixes: QTBUG-80055
Change-Id: If1ce50fe8e83d2c5086c6735d205bc4ca424746d
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/media_capture_devices_dispatcher.cpp')
-rw-r--r-- | src/core/media_capture_devices_dispatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/media_capture_devices_dispatcher.cpp b/src/core/media_capture_devices_dispatcher.cpp index c94ff7eee..7bf499917 100644 --- a/src/core/media_capture_devices_dispatcher.cpp +++ b/src/core/media_capture_devices_dispatcher.cpp @@ -126,7 +126,7 @@ content::DesktopMediaID getDefaultScreenId() // // [1]: webrtc::InProcessVideoCaptureDeviceLauncher::DoStartDesktopCaptureOnDeviceThread -#if QT_CONFIG(webengine_webrtc) && !defined(USE_X11) +#if QT_CONFIG(webengine_webrtc) && !defined(WEBRTC_USE_X11) // Source id patterns are different across platforms. // On Linux, the hardcoded value "0" is used. // On Windows, the screens are enumerated consecutively in increasing order from 0. |