Bug 1340308 - Enables VP9 in MP4s in non-nightly builds when running EME tests r=cpearce
authorJay Harris <jharris@mozilla.com>
Fri, 17 Feb 2017 14:41:09 +1300
changeset 372954 3c11faa00c25b90f39f1c2447d6b1faca6dadd56
parent 372953 9f04fef720ecdedfc9ecc0aa27f1a3e07b6c4054
child 372955 e7c397118fd2088b00d5040de1e59b8783d93290
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1340308
milestone54.0a1
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 ]);
   }