Bug 987773 - Enable FFmpeg on more XP_UNIX platforms by default. r=glandium
authorJan Beich <jbeich@tormail.org>
Thu, 27 Mar 2014 11:02:28 -0400
changeset 175641 432d4ee8b08e59c19f2af016dbaf32aaa0d4d8e5
parent 175640 1b58cff4935d530e044f6858d9594f9f7fcbbf0b
child 175642 d5973e179f12cc8a35f9b1489411cc646005e407
push id26496
push userkwierso@gmail.com
push dateFri, 28 Mar 2014 02:28:34 +0000
treeherdermozilla-central@3c09159e01da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs987773
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 987773 - Enable FFmpeg on more XP_UNIX platforms by default. r=glandium
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5264,19 +5264,23 @@ MOZ_ARG_DISABLE_BOOL(wmf,
 
 if test -n "$MOZ_WMF"; then
     AC_DEFINE(MOZ_WMF)
 fi;
 
 dnl ========================================================
 dnl FFmpeg H264/AAC Decoding Support
 dnl ========================================================
-if test "$OS_TARGET" = "Linux"; then
-  MOZ_FFMPEG=1
-fi
+case "$OS_TARGET" in
+WINNT|Darwin|Android)
+    ;;
+*)
+    MOZ_FFMPEG=1
+    ;;
+esac
 
 MOZ_ARG_DISABLE_BOOL(ffmpeg,
 [  --disable-ffmpeg         Disable FFmpeg for fragmented H264/AAC decoding],
     MOZ_FFMPEG=,
     MOZ_FFMPEG=1
 )
 
 if test -n "$MOZ_FFMPEG"; then