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 --- mozilla-1663844.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mozilla-1663844.patch') 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