summaryrefslogtreecommitdiffstats
path: root/dom/media/MediaPrefs.h
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-10-20 08:24:28 -0500
committertrav90 <travawine@palemoon.org>2018-10-20 08:24:28 -0500
commit6ddf66542bfbc90056ca86023da7bdefcec31aa8 (patch)
tree4025c6a417a5dee99ceafb8b4aa6e9863dfa24f6 /dom/media/MediaPrefs.h
parentd2499ead93dc4298c0882fe98902acb1b5209f99 (diff)
downloadUXP-6ddf66542bfbc90056ca86023da7bdefcec31aa8.tar
UXP-6ddf66542bfbc90056ca86023da7bdefcec31aa8.tar.gz
UXP-6ddf66542bfbc90056ca86023da7bdefcec31aa8.tar.lz
UXP-6ddf66542bfbc90056ca86023da7bdefcec31aa8.tar.xz
UXP-6ddf66542bfbc90056ca86023da7bdefcec31aa8.zip
Put AV1 codec behind a pref
Disabled by default.
Diffstat (limited to 'dom/media/MediaPrefs.h')
-rw-r--r--dom/media/MediaPrefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/media/MediaPrefs.h b/dom/media/MediaPrefs.h
index b237ecd3d..e67796edd 100644
--- a/dom/media/MediaPrefs.h
+++ b/dom/media/MediaPrefs.h
@@ -120,6 +120,9 @@ private:
#ifdef MOZ_FFVPX
DECL_MEDIA_PREF("media.ffvpx.enabled", PDMFFVPXEnabled, bool, true);
#endif
+#ifdef MOZ_AV1
+ DECL_MEDIA_PREF("media.av1.enabled", AV1Enabled, bool, false);
+#endif
#ifdef XP_WIN
DECL_MEDIA_PREF("media.wmf.enabled", PDMWMFEnabled, bool, true);
DECL_MEDIA_PREF("media.wmf.skip-blacklist", PDMWMFSkipBlacklist, bool, false);