Bug 1478005 - Enable AV1 for non-Nightly builds; r=drno

Summary:
AV1 is still preffed off by default and is still disabled for Android and
32 bit Windows.

Reviewers: drno

Tags: #secure-revision

Bug #: 1478005

Differential Revision: https://phabricator.services.mozilla.com/D2362

--HG--
extra : rebase_source : dc7cc50453dabb13d7abf2f1cd6eb39bb4c11f78
This commit is contained in:
Dan Minor 2018-07-25 10:54:55 -04:00
Родитель 8a02469d65
Коммит c6ebd445b2
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -393,13 +393,13 @@ imply_option('--enable-fmp4', ffmpeg, '--enable-ffmpeg')
option('--enable-av1',
help='Enable libaom for av1 video support')
@depends('--enable-av1', target, milestone)
def av1(value, target, milestone):
@depends('--enable-av1', target)
def av1(value, target):
enabled = bool(value)
if value.origin == 'default':
if target.os == 'WINNT' and target.cpu == 'x86':
enabled = False
elif milestone.is_nightly:
else:
enabled = target.os != 'Android'
if enabled:
return True