TracerFactory

Use gst_tracer_factory_get_list() to get a list of tracer factories known to GStreamer.

Constructors

this
this(GstTracerFactory* gstTracerFactory, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getTracerFactoryStruct
GstTracerFactory* getTracerFactoryStruct(bool transferOwnership)

Get the main Gtk struct

getTracerType
GType getTracerType()

Get the #GType for elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with gst_plugin_feature_load().

Static functions

getList
ListG getList()

Gets the list of all registered tracer factories. You must free the list using gst_plugin_feature_list_free().

getType
GType getType()

Variables

gstTracerFactory
GstTracerFactory* gstTracerFactory;

the main Gtk struct

Inherited Members

From PluginFeature

gstPluginFeature
GstPluginFeature* gstPluginFeature;

the main Gtk struct

getPluginFeatureStruct
GstPluginFeature* getPluginFeatureStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
listCopy
ListG listCopy(ListG list)

Copies the list of features. Caller should call @gst_plugin_feature_list_free when done with the list.

listDebug
void listDebug(ListG list)

Debug the plugin feature names in @list.

listFree
void listFree(ListG list)

Unrefs each member of @list, then frees the list.

rankCompareFunc
int rankCompareFunc(void* p1, void* p2)

Compares the two given #GstPluginFeature instances. This function can be used as a #GCompareFunc when sorting by rank and then by name.

checkVersion
bool checkVersion(uint minMajor, uint minMinor, uint minMicro)

Checks whether the given plugin feature is at least the required version

getPlugin
Plugin getPlugin()

Get the plugin that provides this feature.

getPluginName
string getPluginName()

Get the name of the plugin that provides this feature.

getRank
uint getRank()

Gets the rank of a plugin feature.

load
PluginFeature load()

Loads the plugin containing @feature if it's not already loaded. @feature is unaffected; use the return value instead.

setRank
void setRank(uint rank)

Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.

Meta