comparison configure @ 8517:bcf1b010bf14

Presets are an easy way, to use hard to access lame options and to give you optimum quality at average bitrate. This patch adds presets to mencoder for libmp3lame >= 3.92. More info in the sourcecode & at http://www.mp3dev.org/mp3/doc/html/presets.html patch by eviv bulgroz <ebulgroz@yahoo.com>
author arpi
date Sat, 21 Dec 2002 22:16:49 +0000
parents 2dd791127398
children 9d143176d95f
comparison
equal deleted inserted replaced
8516:71e2ba5d6cdc 8517:bcf1b010bf14
4125 4125
4126 echocheck "libmp3lame (for mencoder)" 4126 echocheck "libmp3lame (for mencoder)"
4127 _mp3lame=no 4127 _mp3lame=no
4128 cat > $TMPC <<EOF 4128 cat > $TMPC <<EOF
4129 #include <lame/lame.h> 4129 #include <lame/lame.h>
4130 int main(void) { (void) lame_init(); return 0; } 4130 int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; }
4131 EOF 4131 EOF
4132 # Note: libmp3lame usually depends on vorbis 4132 # Note: libmp3lame usually depends on vorbis
4133 cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes 4133 cc_check -lmp3lame $_ld_vorbis -lm && _mp3lame=yes
4134 if test "$_mp3lame" = yes ; then 4134 if test "$_mp3lame" = yes ; then
4135 _def_mp3lame='#define HAVE_MP3LAME 1' 4135 _def_mp3lame="#define HAVE_MP3LAME `$TMPO`"
4136 _ld_mp3lame="-lmp3lame $_ld_vorbis" 4136 _ld_mp3lame="-lmp3lame $_ld_vorbis"
4137 else 4137 else
4138 _def_mp3lame='#undef HAVE_MP3LAME' 4138 _def_mp3lame='#undef HAVE_MP3LAME'
4139 fi 4139 fi
4140 echores "$_mp3lame" 4140 echores "$_mp3lame"