mirror of https://github.com/mpv-player/mpv
Fix compilation with -disable-mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23758 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bc722a5236
commit
407c5eaf78
|
@ -6453,12 +6453,13 @@ fi
|
|||
|
||||
echocheck "mencoder"
|
||||
_mencoder_flag='#undef HAVE_MENCODER'
|
||||
_def_encoders='#undef CONFIG_ENCODERS'
|
||||
if test "$_mencoder" = yes ; then
|
||||
_mencoder_flag='#define HAVE_MENCODER'
|
||||
_def_muxers='#define CONFIG_MUXERS 1'
|
||||
_def_encoders='#define CONFIG_ENCODERS 1'
|
||||
else
|
||||
# mpeg1video for vf_lavc, snow for vf_uspp and vf_mcdeint
|
||||
_libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER"
|
||||
_libavencoders=""
|
||||
_libavmuxers=""
|
||||
fi
|
||||
echores "$_mencoder"
|
||||
|
@ -7934,7 +7935,7 @@ $_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
|
||||
|
|
Loading…
Reference in New Issue