Bug 1340308 - Enables VP9 in MP4s in non-nightly builds when running EME tests r?cpearce draft
authorJay Harris <jharris@mozilla.com>
Fri, 17 Feb 2017 14:41:09 +1300
changeset 485661 6f060956034903ba448d71df3869d4a543c82aa0
parent 485660 183cdbdc1dad1df66ecc73517e7655e2dcbda2f8
child 546087 78141e04f841ec406f66fedffcaea47f1556969c
push id45810
push userbmo:jharris@mozilla.com
push dateFri, 17 Feb 2017 01:45:36 +0000
reviewerscpearce
bugs1340308
milestone54.0a2
Bug 1340308 - Enables VP9 in MP4s in non-nightly builds when running EME tests r?cpearce MozReview-Commit-ID: JKSRK1sAYTT
dom/media/test/eme.js
--- a/dom/media/test/eme.js
+++ b/dom/media/test/eme.js
@@ -450,16 +450,17 @@ function SetupEME(test, token, params)
   });
   return v;
 }
 
 function SetupEMEPref(callback) {
   var prefs = [
     [ "media.mediasource.enabled", true ],
     [ "media.mediasource.webm.enabled", true ],
+    [ "media.eme.vp9-in-mp4.enabled", true ],
   ];
 
   if (SpecialPowers.Services.appinfo.name == "B2G" ||
       !manifestVideo().canPlayType("video/mp4")) {
     // XXX remove once we have mp4 PlatformDecoderModules on all platforms.
     prefs.push([ "media.use-blank-decoder", true ]);
   }