Hello,<br><br>First what I wanted to do worked, I'm just trying to better understand how gstreamer works.<br><br>I was trying to figure out the best way to organise my code for an application and a static plugin (not compiled as .so)
<br><br>I used the plugin template to generate gstmyplugin.[ch] and I just replaced the GST_PLUGIN_DEFINE by<br>the GST_PLUGIN_DEFINE_STATIC in gstmyplugin.c.<br><br>Looking at the definition of the GST_PLUGIN_DEFINE_STATIC macro, it creates a function:
<br>_gst_plugin_static_init__my_plugin_init ()<br>that simply fills a GstPluginDesc structure and then call _gst_plugin_register_static ().<br><br>So my question is: when is this function called when I execute my application ? I had nothing to change to the app code, just had it linked with the produced 
gstmyplugin.o and gstreamer is able to find my custom plugin (gst_factory_make( <br><br><br>