diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-media_base_media_switches_cc')
| -rw-r--r-- | www/chromium-uc/patches/patch-media_base_media_switches_cc | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/www/chromium-uc/patches/patch-media_base_media_switches_cc b/www/chromium-uc/patches/patch-media_base_media_switches_cc deleted file mode 100644 index 3397ab7..0000000 --- a/www/chromium-uc/patches/patch-media_base_media_switches_cc +++ /dev/null | |||
| @@ -1,50 +0,0 @@ | |||
| 1 | $OpenBSD: patch-media_base_media_switches_cc,v 1.17 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: media/base/media_switches.cc | ||
| 4 | --- media/base/media_switches.cc.orig | ||
| 5 | +++ media/base/media_switches.cc | ||
| 6 | @@ -9,7 +9,7 @@ | ||
| 7 | #include "build/chromeos_buildflags.h" | ||
| 8 | #include "components/system_media_controls/linux/buildflags/buildflags.h" | ||
| 9 | |||
| 10 | -#if defined(OS_LINUX) | ||
| 11 | +#if defined(OS_LINUX) || defined(OS_BSD) | ||
| 12 | #include "base/cpu.h" | ||
| 13 | #endif | ||
| 14 | |||
| 15 | @@ -418,7 +418,7 @@ const base::Feature kGav1VideoDecoder{"Gav1VideoDecode | ||
| 16 | const base::Feature kGlobalMediaControls { | ||
| 17 | "GlobalMediaControls", | ||
| 18 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ | ||
| 19 | - BUILDFLAG(IS_CHROMEOS_LACROS) | ||
| 20 | + BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) | ||
| 21 | base::FEATURE_ENABLED_BY_DEFAULT | ||
| 22 | #else | ||
| 23 | base::FEATURE_DISABLED_BY_DEFAULT | ||
| 24 | @@ -455,7 +455,7 @@ constexpr base::FeatureParam<kCrosGlobalMediaControlsP | ||
| 25 | const base::Feature kGlobalMediaControlsPictureInPicture { | ||
| 26 | "GlobalMediaControlsPictureInPicture", | ||
| 27 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ | ||
| 28 | - defined(OS_CHROMEOS) || BUILDFLAG(IS_CHROMEOS_LACROS) | ||
| 29 | + defined(OS_CHROMEOS) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) | ||
| 30 | base::FEATURE_ENABLED_BY_DEFAULT | ||
| 31 | #else | ||
| 32 | base::FEATURE_DISABLED_BY_DEFAULT | ||
| 33 | @@ -496,7 +496,7 @@ const base::Feature kUseR16Texture{"use-r16-texture", | ||
| 34 | const base::Feature kUnifiedAutoplay{"UnifiedAutoplay", | ||
| 35 | base::FEATURE_ENABLED_BY_DEFAULT}; | ||
| 36 | |||
| 37 | -#if defined(OS_LINUX) | ||
| 38 | +#if defined(OS_LINUX) || defined(OS_BSD) | ||
| 39 | // Enable vaapi video decoding on linux. This is already enabled by default on | ||
| 40 | // chromeos, but needs an experiment on linux. | ||
| 41 | const base::Feature kVaapiVideoDecodeLinux{"VaapiVideoDecoder", | ||
| 42 | @@ -934,7 +934,7 @@ bool IsLiveCaptionFeatureEnabled() { | ||
| 43 | return false; | ||
| 44 | #endif | ||
| 45 | |||
| 46 | -#if defined(OS_LINUX) | ||
| 47 | +#if defined(OS_LINUX) || defined(OS_BSD) | ||
| 48 | if (base::FeatureList::IsEnabled(media::kUseSodaForLiveCaption)) { | ||
| 49 | // Check if the CPU has the required instruction set to run the Speech | ||
| 50 | // On-Device API (SODA) library. | ||
