How does GStreamer load static plugins?

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


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().
-------------- 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/20130602/1289e60b/attachment.pgp>


More information about the gstreamer-devel mailing list