From c8daf71be4963daab37d810024e0a6e7f04cf2dd Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Mon, 12 Oct 2020 18:21:34 +0200 Subject: Added a partial fox for rhbz#1886722 --- firefox.spec | 5 ++++- mozilla-1663844.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/firefox.spec b/firefox.spec index 3da43a3..e1a7750 100644 --- a/firefox.spec +++ b/firefox.spec @@ -107,7 +107,7 @@ ExcludeArch: s390x Summary: Mozilla Firefox Web browser Name: firefox Version: 81.0.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz @@ -981,6 +981,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Mon Oct 12 2020 Martin Stransky - 81.0.2-2 +- Added a partial fox for rhbz#1886722 + * Mon Oct 12 2020 Martin Stransky - 81.0.2-1 - Updated to latest upstream - 81.0.2 diff --git a/mozilla-1663844.patch b/mozilla-1663844.patch index 1d96ac9..3e55e80 100644 --- a/mozilla-1663844.patch +++ b/mozilla-1663844.patch @@ -22,3 +22,15 @@ diff --git a/dom/media/platforms/agnostic/gmp/GMPVideoDecoder.cpp b/dom/media/pl } else { mDecodedData.Clear(); mDecodePromise.RejectIfExists( +diff -up firefox-81.0.2/dom/media/gmp/GMPSharedMemManager.h.oldd firefox-81.0.2/dom/media/gmp/GMPSharedMemManager.h +--- firefox-81.0.2/dom/media/gmp/GMPSharedMemManager.h.oldd 2020-10-12 18:19:09.158070701 +0200 ++++ firefox-81.0.2/dom/media/gmp/GMPSharedMemManager.h 2020-10-12 18:19:18.398109540 +0200 +@@ -27,7 +27,7 @@ class GMPSharedMem { + // returned to the parent pool (which is not included). If more than + // this are needed, we presume the client has either crashed or hung + // (perhaps temporarily). +- static const uint32_t kGMPBufLimit = 20; ++ static const uint32_t kGMPBufLimit = 40; + + GMPSharedMem() { + for (size_t i = 0; i < sizeof(mGmpAllocated) / sizeof(mGmpAllocated[0]); -- cgit