[vls-devel] Re: patch for configure.in to take care of ffmpeg compiled with mp3lame
Jean-Paul Saman
saman at natlab.research.philips.com
Mon Aug 18 08:50:01 CEST 2003
Philippe,
some remarks about your patch:
- Add an option "--with-mp3lame" also
- It would be better to try and detect the presence of the lame library
inside ffmpeg configure item, e.g: checking if "--with-mp3lame" is set.
Philippe Van Hecke wrote:
> ------------------------------------------------------------------------
>
> --- vls/configure.in 2003-08-14 00:56:01.000000000 +0200
> +++ vls-mp3lame/configure.in 2003-08-16 13:21:15.000000000 +0200
> @@ -391,6 +391,9 @@
> AC_HELP_STRING(--with-ffmpeg=[PATH], path to ffmpeg header files))
> AC_ARG_WITH(v4l,
> AC_HELP_STRING(--with-v4l=[PATH], path to v4l header files))
> +AC_ARG_ENABLE(ffmpeg-mp3lame,
> +AC_HELP_STRING(--enable-ffmpeg-mp3lame, ffmpeg is compiled with mp3lame (default disabled)))
> +
>
> if test x$enable_v4l = xyes
> then
> @@ -426,6 +429,11 @@
> if test -f "${with_ffmpeg}/libavcodec/libavcodec.a"
> then
> V4LINPUT_LIB="${V4LINPUT_LIB} ${with_ffmpeg}/libavcodec/libavcodec.a"
> +
> + if test x$enable_ffmpeg_mp3lame = xyes
> + then
> + VLS_LIB="${VLS_LIB} -lmp3lame"
> + fi
> V4LINPUT_DCFLAGS="${V4LINPUT_DCFLAGS} -I${with_ffmpeg}/libavcodec"
> V4LINPUT_LCFLAGS="${V4LINPUT_LCFLAGS} -L${with_ffmpeg}/libavcodec"
> BUILTINS="${BUILTINS} v4linput v4lreader raw2ts"
Otherwise it is a great idea to add it.
--
Kind greetings,
Jean-Paul Saman
--
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vls-devel
mailing list