mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
11 lines
698 B
C++
11 lines
698 B
C++
--- remoting/protocol/webrtc_video_stream.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ remoting/protocol/webrtc_video_stream.cc
|
|
@@ -242,7 +242,7 @@ WebrtcVideoStream::WebrtcVideoStream(const std::string
|
|
: stream_name_(stream_name), 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_ASH)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
core_task_runner_ = base::ThreadPool::CreateSingleThreadTaskRunner(
|
|
{base::TaskPriority::HIGHEST},
|
|
base::SingleThreadTaskRunnerThreadMode::DEDICATED);
|