register_static_full


Description:

public static bool register_static_full (int major_version, int minor_version, string name, string description, PluginInitFullFunc init_full_func, string version, string license, string source, string package, string origin)

Registers a static plugin, ie.

a plugin which is private to an application or library and contained within the application or library (as opposed to being shipped as a separate module file) with a PluginInitFullFunc which allows user data to be passed to the callback function (useful for bindings).

You must make sure that GStreamer has been initialised (with init or via init_get_option_group) before calling this function.

Parameters:

major_version

the major version number of the GStreamer core that the plugin was compiled for, you can just use GST_VERSION_MAJOR here

minor_version

the minor version number of the GStreamer core that the plugin was compiled for, you can just use GST_VERSION_MINOR here

name

a unique name of the plugin (ideally prefixed with an application- or library-specific namespace prefix in order to avoid name conflicts in case a similar plugin with the same name ever gets added to GStreamer)

description

description of the plugin

init_full_func

pointer to the init function with user data of this plugin.

version

version string of the plugin

license

effective license of plugin. Must be one of the approved licenses (see PluginDesc above) or the plugin will not be registered.

source

source module plugin belongs to

package

shipped package plugin belongs to

origin

URL to provider of plugin

user_data

gpointer to user data

Returns:

true if the plugin was registered correctly, otherwise false.