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