-
public void add_dependency (string?[] env_vars, string?[] paths, string?[] names, PluginDependencyFlags flags)
Make GStreamer aware of external dependencies which affect the feature set of this plugin (ie. the
elements or typefinders associated with it). GStreamer will re-inspect plugins with external dependencies whenever any of the external
dependencies change. This is useful for plugins which wrap other plugin systems, e.g. a plugin which wraps a plugin-based
visualisation library and makes visualisations available as GStreamer elements, or a codec loader which exposes elements and/or caps
dependent on what external codec libraries are currently installed.
-
public void add_dependency_simple (string? env_vars, string? paths, string? names, PluginDependencyFlags flags)
Make GStreamer aware of external dependencies which affect the feature set of this plugin (ie. the
elements or typefinders associated with it). GStreamer will re-inspect plugins with external dependencies whenever any of the external
dependencies change. This is useful for plugins which wrap other plugin systems, e.g. a plugin which wraps a plugin-based
visualisation library and makes visualisations available as GStreamer elements, or a codec loader which exposes elements and/or caps
dependent on what external codec libraries are currently installed. Convenience wrapper function for
add_dependency which takes simple strings as arguments instead of string
arrays, with multiple arguments separated by predefined delimiters (see above).
-
public unowned Structure get_cache_data ()
Gets the plugin specific data cache. If it is null there is no cached data stored. This is
the case when the registry is getting rebuilt.
-
public unowned string get_description ()
Get the long descriptive name of the plugin
-
public unowned string get_filename ()
get the filename of the plugin
-
public unowned string get_license ()
get the license of the plugin
-
public unowned Module get_module ()
Gets the Module of the plugin. If the plugin
isn't loaded yet, NULL is returned. plugin isn't loaded yet.
-
public unowned string get_name ()
Get the short name of the plugin
-
public unowned string get_origin ()
get the URL where the plugin comes from
-
public unowned string get_package ()
get the package the plugin belongs to.
-
public unowned string get_source ()
get the source module the plugin belongs to.
-
public unowned string get_version ()
get the version of the plugin
-
public bool is_loaded ()
queries if the plugin is loaded into memory
-
public Plugin? load ()
Loads plugin. Note that the *return value* is the loaded plugin; plugin is
untouched. The normal use pattern of this function goes like this:
-
public bool name_filter (Plugin plugin, string name)
A standard filter that returns TRUE when the plugin is of the given name.
-
public void set_cache_data (owned Structure cache_data)
Adds plugin specific data to cache. Passes the ownership of the structure to the plugin.
The cache is flushed every time the registry is rebuilt.