mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 23:38:10 +00:00
fix lavc fail on missing lame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11410 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
83b056b09e
commit
679d6f09b3
4
configure
vendored
4
configure
vendored
@ -5046,9 +5046,11 @@ EOF
|
|||||||
cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes
|
cc_check -lmp3lame $_ld_vorbis -lm && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _mp3lame=yes
|
||||||
if test "$_mp3lame" = yes ; then
|
if test "$_mp3lame" = yes ; then
|
||||||
_def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
|
_def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
|
||||||
|
_def_cfg_mp3lame="#define CONFIG_MP3LAME `$TMPO`"
|
||||||
_ld_mp3lame="-lmp3lame $_ld_vorbis"
|
_ld_mp3lame="-lmp3lame $_ld_vorbis"
|
||||||
else
|
else
|
||||||
_def_mp3lame='#undef HAVE_MP3LAME'
|
_def_mp3lame='#undef HAVE_MP3LAME'
|
||||||
|
_def_cfg_mp3lame='#undef CONFIG_MP3LAME'
|
||||||
fi
|
fi
|
||||||
echores "$_mp3lame"
|
echores "$_mp3lame"
|
||||||
|
|
||||||
@ -5945,7 +5947,7 @@ $_def_encore
|
|||||||
/* Indicates if libmp3lame is available
|
/* Indicates if libmp3lame is available
|
||||||
Note: for mencoder */
|
Note: for mencoder */
|
||||||
$_def_mp3lame
|
$_def_mp3lame
|
||||||
#define CONFIG_MP3LAME HAVE_MP3LAME
|
$_def_cfg_mp3lame
|
||||||
|
|
||||||
/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
|
/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
|
||||||
$_def_mp1e
|
$_def_mp1e
|
||||||
|
Loading…
Reference in New Issue
Block a user