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