1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00

Do not compile FFmpeg muxers and encoders unless MEncoder is enabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18960 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-07-08 17:09:35 +00:00
parent 2670f98ab4
commit 11f38c9502

9
configure vendored
View File

@ -6689,6 +6689,8 @@ echocheck "mencoder"
_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_FAAC=$_faac
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 @@ $_def_libavutil_so
/* 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