[FFmpeg-devel] [PATCH] Dynamic plugins loading
Tue Nov 2 22:01:38 CET 2010
On Tue, Nov 02, 2010 at 09:52:58PM +0100, Reimar D?ffinger wrote:
> On Tue, Nov 02, 2010 at 09:30:11PM +0100, Michael Niedermayer wrote:
> > On Tue, Nov 02, 2010 at 08:41:41PM +0100, Reinhard Tartler wrote:
> > > Would the project accept patches to dlopen() these three libraries at
> > > runtime? Then I could (finally) drop ffmpeg-extra.
> > i have no objection if the respective maintainers agree
> I do (though without an actual patch it's possible they are unfounded),
> it seems likely to me that it will either be an ifdef-mess (dlopen is not
> available on all platforms) or platform-specific code (which beyond being
> ugly on principle also causes some issues for testing).
if dl*() is unavailable id guess one could have macros that turn them into
just returning pointers to the functions directly
> Not saying it is really a better idea, but one could have
> dummy/stub stub libraries that just return errors for example...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel