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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
@@ -289,8 +289,8 @@ BASE_FEATURE(kPictureInPicture,
 #if BUILDFLAG(ENABLE_PLATFORM_HEVC)
 // Enables HEVC hardware accelerated decoding.
 BASE_FEATURE(kPlatformHEVCDecoderSupport,
-             "PlatformHEVCDecoderSupport",
-             base::FEATURE_ENABLED_BY_DEFAULT);
+             "PlatformHEVCDecoderSupport",         // must be enabled
+             base::FEATURE_ENABLED_BY_DEFAULT);    // in Bromite
 #endif  // BUILDFLAG(ENABLE_PLATFORM_HEVC)
 
 // Only decode preload=metadata elements upon visibility.
--
2.25.1
