ports/www/iridium/files/patch-remoting_protocol_webrtc__video__stream.cc
2025-03-19 09:55:06 +01:00

11 lines
663 B
C++

--- remoting/protocol/webrtc_video_stream.cc.orig 2025-03-18 16:46:04 UTC
+++ remoting/protocol/webrtc_video_stream.cc
@@ -267,7 +267,7 @@ WebrtcVideoStream::WebrtcVideoStream(const SessionOpti
: session_options_(session_options) {
// TODO(joedow): Dig into the threading model on other platforms to see if they
// can also be updated to run on a dedicated thread.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
core_task_runner_ = base::ThreadPool::CreateSingleThreadTaskRunner(
{base::TaskPriority::HIGHEST},
base::SingleThreadTaskRunnerThreadMode::DEDICATED);