How does GStreamer load static plugins?

Sebastian Dröge slomo at circular-chaos.org
Sun Jun 2 22:13:16 PDT 2013


On Mo, 2013-06-03 at 01:39 +0300, Nikos Chantziaras wrote:
> On 03/06/13 00:28, Sebastian Dröge wrote:
> > On So, 2013-06-02 at 13:58 +0300, Nikos Chantziaras wrote:
> >> I'm not able to find any documentation on this.  How would I use
> >> GStreamer in an application that has GStreamer itself as well the
> >> plugins linked-in statically?  And for that matter, how would I link it
> >> correctly?  Are the pkg-config files enough, or should I instead
> >> manually link-in every plugin?
> >
> > You need to manually link in every single plugin that is going to be
> > used by your application and manually register it with
> > GST_PLUGIN_STATIC_DECLARE() and GST_PLUGIN_STATIC_REGISTER().
> 
> These macros don't seem to be defined anywhere.  And indeed:
> 
>    grep -r GST_PLUGIN_STATIC /usr/include/gstreamer-0.10
> 
> gives no results.

Yes, they only exist in 1.0 and later. But the patches for this are also
in the GStreamer SDK for 0.10.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130603/62100257/attachment.pgp>


More information about the gstreamer-devel mailing list