Bug 1476975 - P1. Make media.av1.enabled pref public. r=dminor
☠☠ backed out by 56d2f39f9e29 ☠ ☠
authorJean-Yves Avenard <jyavenard@mozilla.com>
Fri, 20 Jul 2018 10:39:01 +0200
changeset 821011 b5377ceef34f0820a59cb19d0ce62100352c7387
parent 821010 da3f76df8820bd2144d34c8c8cc98ae6d73a1664
child 821012 798f4894ffd524b5c883baecb3c1fa505427706c
push id116993
push usermaglione.k@gmail.com
push dateFri, 20 Jul 2018 18:58:06 +0000
reviewersdminor
bugs1476975
milestone63.0a1
Bug 1476975 - P1. Make media.av1.enabled pref public. r=dminor Makes it easier to toggle for tests.
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -598,16 +598,20 @@ pref("media.cubeb.logging_level", "");
 pref("media.cubeb.sandbox", true);
 pref("media.audioipc.pool_size", 2);
 // 64 * 4 kB stack per pool thread.
 pref("media.audioipc.stack_size", 262144);
 #else
 pref("media.cubeb.sandbox", false);
 #endif
 
+#ifdef MOZ_AV1
+pref("media.av1.enabled", false);
+#endif
+
 pref("media.webaudio.audiocontextoptions-samplerate.enabled", true);
 
 // setSinkId expected to be unconditionally enabled in 63. Till then the
 // implementation will remain hidden behind this pref (Bug 1152401, Bug 934425).
 pref("media.setsinkid.enabled", false);
 
 // Weather we allow AMD switchable graphics
 pref("layers.amd-switchable-gfx.enabled", true);