Bug 929398 - Enable vorbis even if webm is disabled. r=ted

We enable either vorbis or tremor, depending on the platform,
if webm is enabled. Both the webm and the ogg media formats
require vorbis support, so the build would fail in the media
playback code if just --disable-webm was passed. Instead enable
vorbis or tremor if either is enabled.
This commit is contained in:
Ralph Giles 2013-10-22 09:55:00 -07:00
parent 12968c25ae
commit bcda8eeb0e

View File

@ -5369,7 +5369,7 @@ AC_SUBST(MOZ_NATIVE_LIBVPX)
AC_SUBST(MOZ_LIBVPX_CFLAGS)
AC_SUBST(MOZ_LIBVPX_LIBS)
if test "$MOZ_WEBM"; then
if test "$MOZ_WEBM" -o "$MOZ_OGG"; then
MOZ_CUBEB=1
if test "$MOZ_SAMPLE_TYPE_FLOAT32"; then
MOZ_VORBIS=1