gst.plugin_feature
Module for [PluginFeature] class
Types 3
This is a base class for anything that can be added to a #GstPlugin.
Methods
PluginFeature self()Returns `this`, for use in `with` statements.PluginFeatureGidBuilder builder()Get builder for [gst.plugin_feature.PluginFeature] Returns: New builder objectgst.plugin_feature.PluginFeature[] listCopy(gst.plugin_feature.PluginFeature[] list)Copies the list of features. Caller should call gstpluginfeaturelistfree when done with the list.void listDebug(gst.plugin_feature.PluginFeature[] list)Debug the plugin feature names in list.int rankCompareFunc(const(void) * p1 = null, const(void) * p2 = null)Compares the two given #GstPluginFeature instances. This function can be used as a #GCompareFunc when sorting by rank and then by name.bool checkVersion(uint minMajor, uint minMinor, uint minMicro)Checks whether the given plugin feature is at least the required version.gst.plugin.Plugin getPlugin()Get the plugin that provides this feature. Returns: the plugin that provides this feature, or null. Unref with [gst.object.ObjectWrap.unref] when no longer needed.string getPluginName()Get the name of the plugin that provides this feature. Returns: the name of the plugin that provides this feature, or null if the feature is not associated with a plugin.uint getRank()Gets the rank of a plugin feature. Returns: The rank of the featuregst.plugin_feature.PluginFeature load()Loads the plugin containing feature if it's not already loaded. feature is unaffected; use the return value instead.void setRank(uint rank)Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.Fluent builder for [gst.plugin_feature.PluginFeature]
Methods