aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-remoting_host_basic__desktop__environment.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-remoting_host_basic__desktop__environment.cc')
-rw-r--r--devel/electron29/files/patch-remoting_host_basic__desktop__environment.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-remoting_host_basic__desktop__environment.cc b/devel/electron29/files/patch-remoting_host_basic__desktop__environment.cc
new file mode 100644
index 000000000000..b5177b4dff15
--- /dev/null
+++ b/devel/electron29/files/patch-remoting_host_basic__desktop__environment.cc
@@ -0,0 +1,11 @@
+--- remoting/host/basic_desktop_environment.cc.orig 2023-08-10 01:48:48 UTC
++++ remoting/host/basic_desktop_environment.cc
+@@ -195,7 +195,7 @@ BasicDesktopEnvironment::CreateVideoCapturer() {
+ scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner;
+ #if BUILDFLAG(IS_CHROMEOS_ASH)
+ capture_task_runner = ui_task_runner_;
+-#elif BUILDFLAG(IS_LINUX) && defined(REMOTING_USE_WAYLAND)
++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(REMOTING_USE_WAYLAND)
+ // Each capturer instance should get its own thread so the capturers don't
+ // compete with each other in multistream mode.
+ capture_task_runner = base::ThreadPool::CreateSingleThreadTaskRunner(