A plugin should provide a pointer to a function of either GstPluginInitFunc or this type in the plugin_desc struct. The function will be called by the loader at startup. One would then register each gstreamer.PluginFeature This version allows user data to be passed to init function (useful for bindings).

alias GstPluginInitFullFunc = int function(GstPlugin* plugin, void* userData)

Return Value

TRUE if plugin initialised successfully