From a64465bde4d8889c062179a791357a8d608d4e0c Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 26 Aug 2018 10:56:24 -0500 Subject: 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). --- old-configure.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'old-configure.in') diff --git a/old-configure.in b/old-configure.in index 6cf0afdb8b..96bb934e12 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 -- cgit v1.2.3