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