diff options
author | JustKidding <jk@vin.ovh> | 2022-10-29 23:16:14 -0500 |
---|---|---|
committer | JustKidding <jk@vin.ovh> | 2022-10-29 23:16:14 -0500 |
commit | 8c8cf86a41da8a2b063b03853a6aa7bb5d7b099e (patch) | |
tree | 4b1c3f9bdf50699fde0c0632613b0f643567f11b | |
parent | 8654cad14126e31951b13e83a860a7c6bd10922d (diff) | |
download | ungoogled-chromium-8c8cf86a41da8a2b063b03853a6aa7bb5d7b099e.tar.gz ungoogled-chromium-8c8cf86a41da8a2b063b03853a6aa7bb5d7b099e.tar.bz2 ungoogled-chromium-8c8cf86a41da8a2b063b03853a6aa7bb5d7b099e.zip |
update hevc patch
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | remove-main-main10-profile-limit.patch | 18 |
3 files changed, 8 insertions, 14 deletions
@@ -85,7 +85,7 @@ pkgbase = ungoogled-chromium sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711 sha256sums = de6f84f9a1c49fb316f4f4ce1c1fde8e0710a6a196f0bf11dd403b9a53f65c12 sha256sums = e9e8d3a82da818f0a67d4a09be4ecff5680b0534d7f0198befb3654e9fab5b69 - sha256sums = 01ba9fd3f791960aa3e803de4a101084c674ce8bfbaf389953aacc6beedd66dc + sha256sums = fc810e3c495c77ac60b383a27e48cf6a38b4a95b65dd2984baa297c5df83133c sha256sums = babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb pkgname = ungoogled-chromium @@ -60,7 +60,7 @@ source=(${source[@]} sha256sums=(${sha256sums[@]} 'de6f84f9a1c49fb316f4f4ce1c1fde8e0710a6a196f0bf11dd403b9a53f65c12' 'e9e8d3a82da818f0a67d4a09be4ecff5680b0534d7f0198befb3654e9fab5b69' - '01ba9fd3f791960aa3e803de4a101084c674ce8bfbaf389953aacc6beedd66dc' + 'fc810e3c495c77ac60b383a27e48cf6a38b4a95b65dd2984baa297c5df83133c' 'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb') # Possible replacements are listed in build/linux/unbundle/replace_gn_files.py diff --git a/remove-main-main10-profile-limit.patch b/remove-main-main10-profile-limit.patch index 1b1611a..d2f5c90 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) |