diff options
author | Robert Nagy <robert@openbsd.org> | 2022-10-05 12:43:40 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-10-06 11:18:10 +0000 |
commit | 10116752aea618e3a66a1b539fbed6f882534081 (patch) | |
tree | 489292cec0a54df210031f6184be7b3e0b4dfe61 /www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc | |
parent | 02a1e91856766b988c41cd189fd44d2935ebb9b4 (diff) | |
download | ports-10116752aea618e3a66a1b539fbed6f882534081.tar.gz ports-10116752aea618e3a66a1b539fbed6f882534081.zip |
Diffstat (limited to 'www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc')
-rw-r--r-- | www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc b/www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc index b8c9a682d6e2..4c59206204a3 100644 --- a/www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc +++ b/www/iridium/files/patch-remoting_codec_webrtc__video__encoder__vpx.cc @@ -1,6 +1,6 @@ ---- remoting/codec/webrtc_video_encoder_vpx.cc.orig 2022-03-28 18:11:04 UTC +--- remoting/codec/webrtc_video_encoder_vpx.cc.orig 2022-10-05 07:34:01 UTC +++ remoting/codec/webrtc_video_encoder_vpx.cc -@@ -85,7 +85,7 @@ void SetVp8CodecParameters(vpx_codec_enc_cfg_t* config +@@ -89,7 +89,7 @@ void SetVp8CodecParameters(vpx_codec_enc_cfg_t* config const webrtc::DesktopSize& size) { SetCommonCodecParameters(config, size); @@ -8,4 +8,4 @@ +#if (BUILDFLAG(IS_BSD) || BUILDFLAG(IS_LINUX)) && !BUILDFLAG(IS_CHROMEOS_LACROS) // On Linux, using too many threads for VP8 encoding has been linked to high // CPU usage on machines that are under stress. See http://crbug.com/1151148. - config->g_threads = std::min(config->g_threads, 2U); + // 5/3/2022 update: Perf testing has shown that doubling the number of threads |