Mercurial > mplayer.hg
changeset 18955:1acb0274753b
Do not compile FFmpeg muxers and encoders unless MEncoder is enabled.
author | diego |
---|---|
date | Sat, 08 Jul 2006 17:09:35 +0000 |
parents | 42d4e99a075e |
children | 7437095483cf |
files | configure |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jul 08 16:52:46 2006 +0000 +++ b/configure Sat Jul 08 17:09:35 2006 +0000 @@ -6689,6 +6689,8 @@ _mencoder_flag='#undef HAVE_MENCODER' if test "$_mencoder" = yes ; then _mencoder_flag='#define HAVE_MENCODER' + _def_encoders='#define CONFIG_ENCODERS 1' + _def_muxers='#define CONFIG_MUXERS 1' fi echores "$_mencoder" @@ -7593,7 +7595,8 @@ CONFIG_XVID=$_lavc_xvid CONFIG_X264=$_x264 CONFIG_GPL=yes -CONFIG_MUXERS=yes +CONFIG_ENCODERS=$_mencoder +CONFIG_MUXERS=$_mencoder # --- Some stuff for autoconfigure ---- $_target_arch @@ -7944,12 +7947,12 @@ /* Use libavcodec's decoders */ #define CONFIG_DECODERS 1 /* Use libavcodec's encoders */ -#define CONFIG_ENCODERS 1 +$_def_encoders /* Use libavformat's demuxers */ #define CONFIG_DEMUXERS 1 /* Use libavformat's muxers */ -#define CONFIG_MUXERS 1 +$_def_muxers #define CONFIG_MPEGAUDIO_HP 1