Bug 1476975 - P1. Make media.av1.enabled pref public. r=dminor draft
authorJean-Yves Avenard <jyavenard@mozilla.com>
Fri, 20 Jul 2018 10:39:01 +0200
changeset 821030 21711e595aedfcb5f43b80a58f5f2ca6dbdc3c4b
parent 821020 7c7794653326178cef682b95bb788dc0a9e473d0
child 821031 c98bc2a9d980d73021bf343c4cac466e7ab9f319
push id116995
push userbmo:jyavenard@mozilla.com
push dateFri, 20 Jul 2018 19:37:25 +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);