diff options
author | trav90 <travawine@palemoon.org> | 2018-08-26 10:56:24 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-08-26 10:56:24 -0500 |
commit | a64465bde4d8889c062179a791357a8d608d4e0c (patch) | |
tree | 7ac69089e73c0e14dcd7c104ecc7339e7b8b74f7 | |
parent | 2dc1703c09b080b12e81895cafc1113e860cfe9a (diff) | |
download | UXP-a64465bde4d8889c062179a791357a8d608d4e0c.tar UXP-a64465bde4d8889c062179a791357a8d608d4e0c.tar.gz UXP-a64465bde4d8889c062179a791357a8d608d4e0c.tar.lz UXP-a64465bde4d8889c062179a791357a8d608d4e0c.tar.xz UXP-a64465bde4d8889c062179a791357a8d608d4e0c.zip |
Don't build ffvpx on 32-bit platforms (except Windows)
Our in-tree FFmpeg doesn't support optimized assembly code very well on 32-bit *nix systems, which causes performance issues during video playback.
Essentially, this commit restores the behavior from Pale Moon 27 on 32-bit Linux builds (for video playback rely on the system-installed FFmpeg packages or libvpx if FFmpeg packages can't be found).
-rw-r--r-- | old-configure.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/old-configure.in b/old-configure.in index 6cf0afdb8..96bb934e1 100644 --- a/old-configure.in +++ b/old-configure.in @@ -3542,11 +3542,15 @@ dnl = FFmpeg's ffvpx configuration dnl ======================================================== MOZ_FFVPX= -case "$CPU_ARCH" in - x86) + +dnl Build ffvpx on 32-bit Windows and all supported 64-bit platforms. +dnl 32-bit *nix has performance issues due to not supporting assembly decoder. + +case "$OS_ARCH:$CPU_ARCH" in + WINNT:x86) MOZ_FFVPX=1 ;; - x86_64) + *:x86_64) MOZ_FFVPX=1 ;; esac |