19 lines
877 B
Diff
19 lines
877 B
Diff
Patch-Source: https://webrtc-review.googlesource.com/c/src/+/305120
|
|
--
|
|
diff --git a/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc b/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
|
|
index 5878180..b2ad7ad 100644
|
|
--- a/src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
|
|
+++ b/src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
|
|
@@ -452,8 +452,8 @@
|
|
PipeWireThreadLoopLock thread_loop_lock(pw_main_loop_);
|
|
|
|
if (fd >= 0) {
|
|
- pw_core_ = pw_context_connect_fd(
|
|
- pw_context_, fcntl(fd, F_DUPFD_CLOEXEC), nullptr, 0);
|
|
+ pw_core_ = pw_context_connect_fd(
|
|
+ pw_context_, fcntl(fd, F_DUPFD_CLOEXEC, 0), nullptr, 0);
|
|
} else {
|
|
pw_core_ = pw_context_connect(pw_context_, nullptr, 0);
|
|
}
|
|
|