517bf9
diff -up firefox-81.0/toolkit/modules/GMPInstallManager.jsm.old firefox-81.0/toolkit/modules/GMPInstallManager.jsm
517bf9
--- firefox-81.0/toolkit/modules/GMPInstallManager.jsm.old	2020-09-25 10:39:04.769458703 +0200
517bf9
+++ firefox-81.0/toolkit/modules/GMPInstallManager.jsm	2020-09-25 10:39:22.038504747 +0200
517bf9
@@ -54,10 +54,6 @@ function getScopedLogger(prefix) {
517bf9
 
517bf9
 const LOCAL_GMP_SOURCES = [
517bf9
   {
517bf9
-    id: "gmp-gmpopenh264",
517bf9
-    src: "chrome://global/content/gmp-sources/openh264.json",
517bf9
-  },
517bf9
-  {
517bf9
     id: "gmp-widevinecdm",
517bf9
     src: "chrome://global/content/gmp-sources/widevinecdm.json",
517bf9
   },
517bf9
diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
517bf9
--- a/toolkit/content/jar.mn
517bf9
+++ b/toolkit/content/jar.mn
517bf9
@@ -108,7 +108,6 @@ toolkit.jar:
517bf9
 #ifdef XP_MACOSX
517bf9
    content/global/macWindowMenu.js
517bf9
 #endif
517bf9
-   content/global/gmp-sources/openh264.json    (gmp-sources/openh264.json)
517bf9
    content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json)
517bf9
 
517bf9
 # Third party files
517bf9
diff --git a/toolkit/modules/GMPInstallManager.jsm b/toolkit/modules/GMPInstallManager.jsm
517bf9
--- a/toolkit/modules/GMPInstallManager.jsm
517bf9
+++ b/toolkit/modules/GMPInstallManager.jsm
517bf9
@@ -238,6 +234,9 @@ GMPInstallManager.prototype = {
517bf9
    *                 downloaderr, verifyerr or previouserrorencountered
517bf9
    */
517bf9
   installAddon(gmpAddon) {
517bf9
+    if (gmpAddon.isOpenH264) {
517bf9
+      return Promise.reject({ type: "disabled" });
517bf9
+    }
517bf9
     if (this._deferred) {
517bf9
       let log = getScopedLogger("GMPInstallManager.installAddon");
517bf9
       log.error("previous error encountered");
517bf9