Bug 1368838 - Enable av1 playback in nightly. draft
authorRalph Giles <giles@mozilla.com>
Fri, 02 Jun 2017 14:42:17 -0700
changeset 588496 896cae9d94c62d87808e7110e0468620266b46f1
parent 588495 09c4dfd944b504228cfa439d1c2c82a7f785691a
child 631591 da6804bc7de1201549fe59aabf8b775a9e175973
push id62058
push userbmo:giles@thaumas.net
push dateFri, 02 Jun 2017 21:44:53 +0000
bugs1368838
milestone55.0a1
Bug 1368838 - Enable av1 playback in nightly. Nightly-only for now, we support a specific bitstream revision of this new video compression format for testing with website authors. See media/libaom/README_MOZILLA for the specific codec commit hash our decoder expects. MozReview-Commit-ID: G3tJwZmetVC
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -403,17 +403,18 @@ def ffmpeg(value, target):
 
 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')
+        help='Enable libaom for av1 video support',
+        default=milestone.is_nightly)
 
 @depends('--enable-av1')
 def av1(value):
     enabled = bool(value)
     if enabled:
         return True
 
 set_config('MOZ_AV1', av1)