diff --git a/SOURCES/chromium-119-disable-GlobalMediaControlsCastStartStop.patch b/SOURCES/chromium-119-disable-GlobalMediaControlsCastStartStop.patch new file mode 100644 index 00000000..20820954 --- /dev/null +++ b/SOURCES/chromium-119-disable-GlobalMediaControlsCastStartStop.patch @@ -0,0 +1,19 @@ +diff -up chromium-119.0.6045.105/chrome/browser/media/router/media_router_feature.cc.disable-GlobalMediaControlsCastStartStop chromium-119.0.6045.105/chrome/browser/media/router/media_router_feature.cc +--- chromium-119.0.6045.105/chrome/browser/media/router/media_router_feature.cc.disable-GlobalMediaControlsCastStartStop 2023-11-06 12:57:04.096696491 +0100 ++++ chromium-119.0.6045.105/chrome/browser/media/router/media_router_feature.cc 2023-11-06 13:00:30.480926343 +0100 +@@ -68,15 +68,9 @@ BASE_FEATURE(kCastMirroringPlayoutDelay, + base::FEATURE_DISABLED_BY_DEFAULT); + const base::FeatureParam kCastMirroringPlayoutDelayMs{ + &kCastMirroringPlayoutDelay, "cast_mirroring_playout_delay_ms", -1}; +-#if BUILDFLAG(IS_CHROMEOS) + BASE_FEATURE(kGlobalMediaControlsCastStartStop, + "GlobalMediaControlsCastStartStop", + base::FEATURE_DISABLED_BY_DEFAULT); +-#else +-BASE_FEATURE(kGlobalMediaControlsCastStartStop, +- "GlobalMediaControlsCastStartStop", +- base::FEATURE_ENABLED_BY_DEFAULT); +-#endif // BUILDFLAG(IS_CHROMEOS) + #endif // !BUILDFLAG(IS_ANDROID) + + namespace { diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index 4e416bfa..41002e6c 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -320,7 +320,7 @@ Patch89: chromium-116-system-brotli.patch # disable GlobalMediaControlsCastStartStop to avoid crash # when using the address bar media player button -Patch90: chromium-113-disable-GlobalMediaControlsCastStartStop.patch +Patch90: chromium-119-disable-GlobalMediaControlsCastStartStop.patch # patch for using system opus Patch91: chromium-108-system-opus.patch