mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Add --enable-av1 configure switch
This commit is contained in:
parent
28c6a9062e
commit
55dd02194d
2 changed files with 17 additions and 0 deletions
3
config/external/moz.build
vendored
3
config/external/moz.build
vendored
|
|
@ -33,6 +33,9 @@ if CONFIG['MOZ_WEBM_ENCODER']:
|
|||
if not CONFIG['MOZ_SYSTEM_LIBVPX']:
|
||||
external_dirs += ['media/libvpx']
|
||||
|
||||
if CONFIG['MOZ_AV1']:
|
||||
external_dirs += ['media/libaom']
|
||||
|
||||
if not CONFIG['MOZ_SYSTEM_PNG']:
|
||||
external_dirs += ['media/libpng']
|
||||
|
||||
|
|
|
|||
|
|
@ -358,6 +358,20 @@ set_config('MOZ_FMP4', fmp4)
|
|||
set_define('MOZ_FMP4', fmp4)
|
||||
add_old_configure_assignment('MOZ_FMP4', fmp4)
|
||||
|
||||
# Libaom AV1 Video Codec Support
|
||||
# ==============================================================
|
||||
option('--enable-av1',
|
||||
help='Enable libaom for av1 video support')
|
||||
|
||||
@depends('--enable-av1')
|
||||
def av1(value):
|
||||
enabled = bool(value)
|
||||
if enabled:
|
||||
return True
|
||||
|
||||
set_config('MOZ_AV1', av1)
|
||||
set_define('MOZ_AV1', av1)
|
||||
|
||||
# Miscellaneous
|
||||
# ==============================================================
|
||||
option(name='--enable-chrome-format',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue