How does GStreamer load static plugins?

Nikos Chantziaras realnc at gmail.com
Sun Jun 2 15:39:51 PDT 2013


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.


More information about the gstreamer-devel mailing list