Bug 1370978 - Enable av1 decoding in Nightly on macOS and Linux. r=froydnj,gerald
authorRalph Giles <giles@mozilla.com>
Wed, 07 Jun 2017 10:29:59 -0700
changeset 411193 a344042d76e92e824f153da614d6571d63a2c71b
parent 411192 78b1221a307d768c75f75fdb4bc9386ce93a9210
child 411194 f0ce0e021b873810e9006b1ca2f199d229445124
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj, gerald
bugs1370978
milestone55.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 1370978 - Enable av1 decoding in Nightly on macOS and Linux. r=froydnj,gerald Enable av1 decoding with the aom reference library on nightly build except on Windows and Android where it's not working yet. This codec is under development and subject to incompatible changes. We're supporting a specific encoder revision for testing with website authors to get early feedback. See media/libaom/README_MOZILLA for the specific codec commit hash our decoder expects. MozReview-Commit-ID: JCPiVFg3geC
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -405,19 +405,21 @@ set_config('MOZ_FFMPEG', ffmpeg)
 set_define('MOZ_FFMPEG', ffmpeg)
 imply_option('--enable-fmp4', ffmpeg, '--enable-ffmpeg')
 
 # Libaom AV1 Video Codec Support
 # ==============================================================
 option('--enable-av1',
         help='Enable libaom for av1 video support')
 
-@depends('--enable-av1')
-def av1(value):
+@depends('--enable-av1', target, milestone)
+def av1(value, target, milestone):
     enabled = bool(value)
+    if value.origin == 'default' and milestone.is_nightly:
+        enabled = target.os not in ('Android', 'WINNT')
     if enabled:
         return True
 
 set_config('MOZ_AV1', av1)
 set_define('MOZ_AV1', av1)
 
 # Built-in fragmented MP4 support.
 # ==============================================================