PluginDesc#

class PluginDesc(*args, **kwargs)#

A plugin should export a variable of this type called plugin_desc. The plugin loader will use the data provided there to initialize the plugin.

The licence parameter must be one of: LGPL, GPL, QPL, GPL/QPL, MPL, BSD, MIT/X11, Proprietary, unknown.

Fields#

class PluginDesc
description#

Description of plugin

license#

Effective license of plugin

major_version#

The major version number of core that plugin was compiled for

minor_version#

The minor version number of core that plugin was compiled for

name#

A unique name of the plugin

origin#

URL to provider of plugin

package#

Shipped package plugin belongs to

plugin_init#

Pointer to the init function of this plugin.

release_datetime#
Date time string in ISO 8601

format (or rather, a subset thereof), or None. Allowed are the following formats: “YYYY-MM-DD” and “YYY-MM-DDTHH:MMZ” (with ‘T’ a separator and ‘Z’ indicating UTC/Zulu time). This field should be set via the GST_PACKAGE_RELEASE_DATETIME preprocessor macro.

source#

Source module plugin belongs to

version#

Version of the plugin