gst.plugin_feature

Module for [PluginFeature] class

Types 3

This is a base class for anything that can be added to a #GstPlugin.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
PluginFeature self() nothrowReturns `this`, for use in `with` statements.
PluginFeatureGidBuilder builder() static nothrowGet builder for [gst.plugin_feature.PluginFeature] Returns: New builder object
gst.plugin_feature.PluginFeature[] listCopy(gst.plugin_feature.PluginFeature[] list) static nothrowCopies the list of features. Caller should call gst_plugin_feature_list_free when done with the list.
void listDebug(gst.plugin_feature.PluginFeature[] list) static nothrowDebug the plugin feature names in list.
int rankCompareFunc(const(void) * p1 = null, const(void) * p2 = null) static nothrowCompares 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) nothrowChecks whether the given plugin feature is at least the required version.
gst.plugin.Plugin getPlugin() nothrowGet 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() nothrowGet 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() nothrowGets the rank of a plugin feature. Returns: The rank of the feature
gst.plugin_feature.PluginFeature load() nothrowLoads the plugin containing feature if it's not already loaded. feature is unaffected; use the return value instead.
void setRank(uint rank) nothrowSpecifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
PluginFeature build() nothrowCreate object from builder. Returns: New object