[FFmpeg-devel] [PATCH] Allow setting mode MONO in libmp3lame if the library is greater than 3.97

Thierry Foucu tfoucu
Wed Aug 18 07:31:17 CEST 2010


On Tue, Aug 17, 2010 at 4:19 PM, Stefano Sabatini <
stefano.sabatini-lala at poste.it> wrote:

> On date Tuesday 2010-08-17 13:40:04 -0700, Thierry Foucu encoded:
> > On Tue, Aug 17, 2010 at 1:20 PM, Michael Niedermayer <michaelni at gmx.at
> >wrote:
> [...]
> > > ok, but this needs a configure check to make sure lame is not too old
> > >
> > >
> > I look at the ffmpeg configure, and i was thinking to use
> > check_cpp_condition, however lame does include their version in the
> lame.h.
> > The only way to get their version is to call some of their function which
> > return a char*.
> >
> > so not sure how to do the check in the configure unless adding another
> > function specific to lame verification checking.
> >
> > Any idea? suggestion?
>
> If all else fails use pkg-config --at-least-version=XXX. And is lame
> of lame that it does not support a better way to check the version
> number, maybe that should be fixed (or even better it should be
> inglobated into FFmpeg *grin*).
>
>
Unless I'm reading the lame configure in-correctly, but it seems that lame
does not provide a pkg-config file for us to use pkg-config.
So not sure what to do.
I can add again the code in libmp3lame.c to detect the version do something
with it if you want..



> Regards.
> --
> FFmpeg = Fantastic and Furious Mournful Problematic EnGraver
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



More information about the ffmpeg-devel mailing list