Bug 1421635 - av1: Disable decoding on 32-bit x86. r?kinetik draft
authorRalph Giles <giles@mozilla.com>
Tue, 05 Dec 2017 16:11:40 -0800
changeset 707917 2d0a2c7fb9216f8959b25cf7153ddd820ffe51b1
parent 707915 a928be5dacc3b544e29c0612b3f8cda6447df802
child 743066 cfda0e76ec39fae744c8bc961cf2034d54a17e4b
push id92250
push userbmo:giles@thaumas.net
push dateWed, 06 Dec 2017 00:15:50 +0000
reviewerskinetik
bugs1421635
milestone59.0a1
Bug 1421635 - av1: Disable decoding on 32-bit x86. r?kinetik Work around crashes on win32 by disabling the decoder for that target and 32-bit linux. Machines limited to 32 bits are likely too slow for effective software playback anyway. MozReview-Commit-ID: FP4wxP3FPOQ
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -370,17 +370,17 @@ imply_option('--enable-fmp4', ffmpeg, '-
 # ==============================================================
 option('--enable-av1',
         help='Enable libaom for av1 video support')
 
 @depends('--enable-av1', target, milestone)
 def av1(value, target, milestone):
     enabled = bool(value)
     if value.origin == 'default' and milestone.is_nightly:
-        enabled = target.os != 'Android'
+        enabled = target.os != 'Android' and target.cpu != 'x86'
     if enabled:
         return True
 
 set_config('MOZ_AV1', av1)
 set_define('MOZ_AV1', av1)
 
 # Built-in fragmented MP4 support.
 # ==============================================================