[gst-devel] Color space conversion and static linking

Andy Wingo wingo at pobox.com
Tue Apr 18 03:36:02 CEST 2006


On Mon, 2006-04-17 at 07:38 -0700, Ben "The Big" Demboski wrote:
> Hi all.
> I'm working on an application that needs to statically link in the plugins
> that it uses, rather than depending on the presence of .so's, and I have run
> into an issue doing color space conversions. I am linking in the ffmpeg
> plugins, which prevents me from linking in the ffmpegcolorspace plugin
> because the symbols all conflict. My temporary workaround is to patch the
> ffmpegcolorspace source, prepending 'ff_' to all the symbols, but I would
> obviously prefer a better solution.

Note that statically linking your app to GStreamer and the plugins will
require you to distribute their source code, as modified, separately
under the LGPL. Also the part of your executable which is not GStreamer
or the plugins will have to be distributed as a separate object file
and/or as source code, so that the user can relink a modified version of
GStreamer and the plugins -- see sections 6a and 6c of the LGPL for

Unfortunately I don't have an answer to your question ;-)

Andy Wingo

More information about the gstreamer-devel mailing list