On 13 January 2015 at 14:54, wm4 <nfx...@googlemail.com> wrote:

> On Mon, 12 Jan 2015 18:59:33 +0100
> Marc Giger <gigerst...@gmx.ch> wrote:
>
> > Hi,
> >
> > Attached is a preliminary patch that enables runtime loading of external
> > libraries via dlopen and friends. Dynamic loading is a build time option
> > (--enable-dynamic-loading) and if it is not activated the libs are
> > linked as usual (still no dependency to dlopen required).
> >
> > The patch is intended as a basis for a discussion and therefore the
> > following applies:
> >
> > - only libmp3lame and libva will by dynamically loaded atm
> > - only tested on linux atm
> > - deregistering not implemented (dlclose)
> > - versioning (which version of a lib should be loaded?)
> > - library usage counter missing
> > - ...?
> >
> > What do you think?
>
> What's the point?
>

Loading library "on demand" saves some time on application start and
possibly saves memory.
I is not relevant, on modern desktops, but on mobile devices it can make a
difference.

I haven't looked at patch, but idea as a whole is OK IMHO
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to