Bug 1505284 - P5. Don't use real H264 decoder with fake GMP encoder. r=dminor
authorJean-Yves Avenard <jyavenard@mozilla.com>
Thu, 22 Nov 2018 16:31:33 +0000
changeset 504159 95d5bb21c934f96482a96579102b3dd853542723
parent 504158 7f62a35b41717abda4a30f20ecc7a8fd649304f2
child 504160 edc1ed1cf16731fe81ce50efaa8edc17a386fb42
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdminor
bugs1505284
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1505284 - P5. Don't use real H264 decoder with fake GMP encoder. r=dminor The fake H.264 GMP encoder creates dummy frames that can't be decoded by anything but the fake GMP decoder. Differential Revision: https://phabricator.services.mozilla.com/D12537
dom/media/tests/mochitest/head.js
--- a/dom/media/tests/mochitest/head.js
+++ b/dom/media/tests/mochitest/head.js
@@ -402,16 +402,19 @@ function pushPrefs(...p) {
 function setupEnvironment() {
   if (!window.SimpleTest) {
     // Running under Steeplechase
     return;
   }
 
   var defaultMochitestPrefs = {
     'set': [
+      // We can't use the Fake H.264 GMP encoder with a real decoder until
+      // bug 1509012 is done. So force using the Fake H.264 GMP decoder for now.
+      ['media.navigator.mediadatadecoder_h264_enabled', false],
       ['media.peerconnection.enabled', true],
       ['media.peerconnection.identity.enabled', true],
       ['media.peerconnection.identity.timeout', 120000],
       ['media.peerconnection.ice.stun_client_maximum_transmits', 14],
       ['media.peerconnection.ice.trickle_grace_period', 30000],
       ['media.peerconnection.remoteTrackId.enabled', true],
       ['media.peerconnection.rtpsourcesapi.enabled', true],
       ['media.navigator.permission.disabled', true],