mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-11 16:55:23 +00:00
Only enable lame presets if version of lame has presets in API
Original commit message from CVS: 2004-08-19 Zaheer Abbas Merali <zaheerabbas at merali dot org> * configure.ac: * ext/lame/Makefile.am: * ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup): Only enable lame presets if version of lame has presets in API
This commit is contained in:
parent
59a4da6dd0
commit
6124d65f4a
2 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-08-19 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
* ext/lame/Makefile.am:
|
||||||
|
* ext/lame/gstlame.c: (gst_lame_class_init),
|
||||||
|
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup):
|
||||||
|
Only enable lame presets if version of lame has presets in API
|
||||||
|
|
||||||
2004-08-19 Jan Schmidt <thaytan@mad.scientist.com>
|
2004-08-19 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_get):
|
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_get):
|
||||||
* gst/udp/gstudpsrc.h:
|
* gst/udp/gstudpsrc.h:
|
||||||
|
|
|
@ -1193,8 +1193,15 @@ GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
|
||||||
dnl *** lame ***
|
dnl *** lame ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
||||||
GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
||||||
GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame")
|
GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame -lm")
|
||||||
])
|
])
|
||||||
|
dnl is lame presets available
|
||||||
|
ac_save_LIBS="$LIBS"
|
||||||
|
LIBS="$LAME_LIBS"
|
||||||
|
LAME_CFLAGS=""
|
||||||
|
AC_CHECK_FUNC(lame_set_preset, LAME_CFLAGS="-DGSTLAME_PRESET",)
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
AC_SUBST(LAME_CFLAGS)
|
||||||
AC_SUBST(LAME_LIBS)
|
AC_SUBST(LAME_LIBS)
|
||||||
|
|
||||||
dnl *** libcaca ***
|
dnl *** libcaca ***
|
||||||
|
|
Loading…
Reference in a new issue