Bug 600540: Disable raw video by default. r=cpearce a=beltzer

--HG--
extra : rebase_source : 0ddea9a76805d6d8da3328c368c8393111ab7790
This commit is contained in:
Kyle Huey 2010-10-06 16:17:54 -04:00
parent f398e04759
commit 9a7fdfb2bf
3 changed files with 9 additions and 5 deletions

View File

@ -5899,12 +5899,12 @@ if test -n "$MOZ_NO_FAST_LOAD"; then
fi
dnl ========================================================
dnl = Disable Raw Codecs
dnl = Enable Raw Codecs
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(raw,
[ --disable-raw Disable support for RAW media],
MOZ_RAW=,
MOZ_RAW=1)
MOZ_ARG_ENABLE_BOOL(raw,
[ --enable-raw Enable support for RAW media],
MOZ_RAW=1,
MOZ_RAW=)
if test -n "$MOZ_RAW"; then
AC_DEFINE(MOZ_RAW)

View File

@ -177,9 +177,11 @@ SHARED_LIBRARY_LIBS += \
$(NULL)
endif
ifdef MOZ_RAW
SHARED_LIBRARY_LIBS += \
$(DEPTH)/content/media/raw/$(LIB_PREFIX)gkconraw_s.$(LIB_SUFFIX)\
$(NULL)
endif
ifdef MOZ_WEBM
SHARED_LIBRARY_LIBS += \

View File

@ -585,7 +585,9 @@ static nsExtraMimeTypeEntry extraMimeEntries [] =
{ VIDEO_WEBM, "webm", "Web Media Video" },
{ AUDIO_WEBM, "webm", "Web Media Audio" },
#endif
#ifdef MOZ_RAW
{ VIDEO_RAW, "yuv", "Raw YUV Video" },
#endif
{ AUDIO_WAV, "wav", "Waveform Audio" },
};