summaryrefslogtreecommitdiffstats
path: root/remove-main-main10-profile-limit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'remove-main-main10-profile-limit.patch')
-rw-r--r--remove-main-main10-profile-limit.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/remove-main-main10-profile-limit.patch b/remove-main-main10-profile-limit.patch
deleted file mode 100644
index 15bd6a7..0000000
--- a/remove-main-main10-profile-limit.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/media/base/supported_types.cc b/media/base/supported_types.cc
-index 2ebbdf9..861dc50 100644
---- a/media/base/supported_types.cc
-+++ b/media/base/supported_types.cc
-@@ -205,28 +205,7 @@ bool IsAudioCodecProprietary(AudioCodec codec) {
- #endif // !BUILDFLAG(USE_PROPRIETARY_CODECS)
-
- bool IsHevcProfileSupported(const VideoType& type) {
-- if (!IsColorSpaceSupported(type.color_space))
-- return false;
--
--#if BUILDFLAG(ENABLE_PLATFORM_HEVC)
--#if BUILDFLAG(PLATFORM_HAS_OPTIONAL_HEVC_SUPPORT)
--#if BUILDFLAG(IS_CHROMEOS_LACROS)
-- // TODO(b/171813538): For Lacros, the supplemental profile cache will be
-- // asking lacros-gpu, but we will be doing decoding in ash-gpu. Until the
-- // codec detection is plumbed through to ash-gpu we can do this extra check
-- // for HEVC support.
-- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
-- switches::kLacrosEnablePlatformHevc)) {
- return true;
-- }
--#endif // BUILDFLAG(IS_CHROMEOS_LACROS)
-- return GetSupplementalProfileCache()->IsProfileSupported(type.profile);
--#else
-- return true;
--#endif // BUIDFLAG(PLATFORM_HAS_OPTIONAL_HEVC_SUPPORT)
--#else
-- return false;
--#endif // BUILDFLAG(ENABLE_PLATFORM_HEVC)
- }
-
- bool IsVp9ProfileSupported(const VideoType& type) {