Files
cromite/build/patches/Enable-HEVC-by-default.patch
T
2025-09-29 11:50:52 +02:00

25 lines
986 B
Diff

From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Tue, 27 Sep 2022 23:39:54 +0200
Subject: Enable HEVC by default
Add a guard to avoid setting to be disabled upstream.
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
media/base/media_switches.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -319,7 +319,7 @@ BASE_FEATURE(EnableTabMuting, base::FEATURE_DISABLED_BY_DEFAULT);
#if BUILDFLAG(ENABLE_PLATFORM_HEVC)
// Enables HEVC hardware accelerated decoding.
-BASE_FEATURE(PlatformHEVCDecoderSupport, base::FEATURE_ENABLED_BY_DEFAULT);
+BASE_FEATURE(PlatformHEVCDecoderSupport, base::FEATURE_ENABLED_BY_DEFAULT); // must be enabled
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_ANDROID)
// Enables HEVC hardware accelerated encoding for Windows, Apple, and Android.
--