Sets our main struct and passes it to the parent class.
Make GStreamer aware of external dependencies which affect the feature set of this plugin (ie. the elements or typefinders associated with it).
Make GStreamer aware of external dependencies which affect the feature set of this plugin (ie. the elements or typefinders associated with it).
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.
Get the long descriptive name of the plugin
get the filename of the plugin
get the license of the plugin
Get the short name of the plugin
get the URL where the plugin comes from
get the package the plugin belongs to.
Get the main Gtk struct
Get the release date (and possibly time) in form of a string, if available.
get the source module the plugin belongs to.
the main Gtk struct as a void*
get the version of the plugin
queries if the plugin is loaded into memory
Loads plugin. Note that the *return value* is the loaded plugin; plugin is untouched. The normal use pattern of this function goes like this:
Adds plugin specific data to cache. Passes the ownership of the structure to the plugin.
Unrefs each member of list, then frees the list.
Load the named plugin. Refs the plugin.
Loads the given plugin and refs it. Caller needs to unref after use.
Get the error quark.
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).
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 GstPluginInitFullFunc which allows user data to be passed to the callback function (useful for bindings).
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Checks to see if there is any object named name in list. This function does not do any locking of any kind. You might want to protect the provided list with the lock of the owner of the list. This function will lock each GstObject in the list to compare the name, so be careful when passing a list with a locked object.
A default deep_notify signal callback for an object. The user data should contain a pointer to an array of strings that should be excluded from the notify. The default handler will print the new value of the property using g_print.
Increase the reference count of object, and possibly remove the floating reference, if object has a floating reference.
Atomically modifies a pointer to point to a new object. The reference count of oldobj is decreased and the reference count of newobj is increased.
Attach the gstreamer.ControlBinding to the object. If there already was a gstreamer.ControlBinding for this property it will be replaced.
A default error function that uses g_printerr() to display the error message and the optional debug string..
Gets the corresponding gstreamer.ControlBinding for the property. This should be unreferenced again after use.
Obtain the control-rate for this object. Audio processing gstreamer.Element objects will use this rate to sub-divide their processing loop and call gst_object_sync_values() in between. The length of the processing segment should be up to control-rate nanoseconds.
Gets a number of gobject.Values for the given controlled property starting at the requested time. The array values need to hold enough space for n_values of gobject.Value
Returns a copy of the name of object. Caller should g_free() the return value after usage. For a nameless object, this returns NULL, which you can safely g_free() as well.
Returns the parent of object. This function increases the refcount of the parent object so you should gst_object_unref() it after usage.
Generates a string describing the path of object in the object hierarchy. Only useful (or used) for debugging.
Gets the value for the given controlled property at the requested time.
Gets a number of values for the given controlled property starting at the requested time. The array values need to hold enough space for n_values of the same type as the objects property's type.
Check if the object has active controlled properties.
Check if object has an ancestor ancestor somewhere up in the hierarchy. One can e.g. check if a gstreamer.Element is inside a gstreamer.Pipeline
Check if object has an ancestor ancestor somewhere up in the hierarchy. One can e.g. check if a gstreamer.Element is inside a gstreamer.Pipeline
Check if parent is the parent of object. E.g. a gstreamer.Element can check if it owns a given gstreamer.Pad
Increments the reference count on object. This function does not take the lock on object because it relies on atomic refcounting.
Removes the corresponding gstreamer.ControlBinding If it was the last ref of the binding, it will be disposed.
This function is used to disable the control bindings on a property for some time, i.e. gst_object_sync_values() will do nothing for the property.
This function is used to disable all controlled properties of the object for some time, i.e. gst_object_sync_values() will do nothing.
Change the control-rate for this object. Audio processing gstreamer.Element objects will use this rate to sub-divide their processing loop and call gst_object_sync_values() in between. The length of the processing segment should be up to control-rate nanoseconds.
Sets the name of object, or gives object a guaranteed unique name (if name is NULL). This function makes a copy of the provided name, so the caller retains ownership of the name it sent.
Sets the parent of object to parent. The object's reference count will be incremented, and any floating reference will be removed (see gst_object_ref_sink()).
Returns a suggestion for timestamps where buffers should be split to get best controller results.
Sets the properties of the object, according to the gstreamer.ControlSources that (maybe) handle them and for the given timestamp.
Clear the parent of object, removing the associated reference. This function decreases the refcount of object.
Decrements the reference count on object. If reference count hits zero, destroy object. This function does not take the lock on object as it relies on atomic refcounting.
The deep notify signal is used to be notified of property changes. It is typically attached to the toplevel bin to receive notifications from all the elements contained in that bin.
GStreamer is extensible, so gstreamer.Element instances can be loaded at runtime. A plugin system can provide one or more of the basic <application>GStreamer</application> gstreamer.PluginFeature subclasses.
A plugin should export a symbol <symbol>gst_plugin_desc</symbol> that is a struct of type GstPluginDesc the plugin loader will check the version of the core library the plugin was linked against and will create a new gstreamer.Plugin It will then call the GstPluginInitFunc function that was provided in the <symbol>gst_plugin_desc</symbol>.
Once you have a handle to a gstreamer.Plugin (e.g. from the gstreamer.Registry), you can add any object that subclasses gstreamer.PluginFeature
Usually plugins are always automatically loaded so you don't need to call Plugin.load explicitly to bring it into memory. There are options to statically link plugins to an app or even use GStreamer without a plugin repository in which case Plugin.load can be needed to bring the plugin into memory.