mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
e3b53fa127
Currently the camera and geolocation do not work. Submitted by: Matthias Wolf Obtained from: https://github.com/gliaskos/freebsd-chromium/pull/173 Obtained from: https://github.com/gliaskos/freebsd-chromium/pull/174 MFH: 2020Q2 Security: https://www.vuxml.org/freebsd/6e3b700a-7ca3-11ea-b594-3065ec8fd3ec.html
12 lines
552 B
C++
12 lines
552 B
C++
--- media/webrtc/webrtc_switches.cc.orig 2020-02-03 21:52:48 UTC
|
|
+++ media/webrtc/webrtc_switches.cc
|
|
@@ -50,7 +50,7 @@ namespace media {
|
|
|
|
bool IsWebRtcApmInAudioServiceEnabled() {
|
|
#if defined(OS_WIN) || defined(OS_MACOSX) || \
|
|
- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
|
|
+ (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
|
|
return base::FeatureList::IsEnabled(features::kWebRtcApmInAudioService) &&
|
|
!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
switches::kForceDisableWebRtcApmInAudioService);
|