diff options
author | Noah Vogt | 2022-11-16 00:24:33 +0100 |
---|---|---|
committer | Noah Vogt | 2022-11-16 00:24:33 +0100 |
commit | c86a24901c17cb425619a2085d2f18792ac9c825 (patch) | |
tree | e3c618c797da2992050b0ee33c1f4f00e33516bf /remove-main-main10-profile-limit.patch | |
parent | 2ac7da3b06e5d578936cf46fe3ff269c0cde767b (diff) | |
download | aur-c86a24901c17cb425619a2085d2f18792ac9c825.tar.gz |
uppkg -> 107.0.5304.110-2
Diffstat (limited to 'remove-main-main10-profile-limit.patch')
-rw-r--r-- | remove-main-main10-profile-limit.patch | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/remove-main-main10-profile-limit.patch b/remove-main-main10-profile-limit.patch index 1b1611a7143a..d2f5c90a8991 100644 --- a/remove-main-main10-profile-limit.patch +++ b/remove-main-main10-profile-limit.patch @@ -1,12 +1,13 @@ diff --git a/media/base/supported_types.cc b/media/base/supported_types.cc -index c2efcdb..cc28d84 100644 +index c47d83f..ebbbce5 100644 --- a/media/base/supported_types.cc +++ b/media/base/supported_types.cc -@@ -205,34 +205,7 @@ bool IsHevcProfileSupported(const VideoType& type) { +@@ -205,28 +205,7 @@ bool IsHevcProfileSupported(const VideoType& type) { return false; #if BUILDFLAG(ENABLE_PLATFORM_HEVC) --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_MAC) -#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 @@ -18,14 +19,6 @@ index c2efcdb..cc28d84 100644 - } -#endif // BUILDFLAG(IS_CHROMEOS_LACROS) - return GetSupplementalProfileCache()->IsProfileSupported(type.profile); --#elif BUILDFLAG(IS_MAC) -- if (__builtin_available(macOS 11.0, *)) -- return base::FeatureList::IsEnabled(kPlatformHEVCDecoderSupport) && -- (type.profile == HEVCPROFILE_MAIN || -- type.profile == HEVCPROFILE_MAIN10 || -- type.profile == HEVCPROFILE_MAIN_STILL_PICTURE || -- type.profile == HEVCPROFILE_REXT); -- return false; -#elif BUILDFLAG(IS_ANDROID) - // Technically android 5.0 mandates support for only HEVC main profile, - // however some platforms (like chromecast) have had more profiles supported @@ -33,7 +26,8 @@ index c2efcdb..cc28d84 100644 - return base::FeatureList::IsEnabled(kPlatformHEVCDecoderSupport); -#else return true; --#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +-#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || +- // BUILDFLAG(IS_MAC) #else return false; #endif // BUILDFLAG(ENABLE_PLATFORM_HEVC) |