IndexFactory

Description GstIndexFactory is used to dynamically create GstIndex implementations.

Constructors

this
this(GstIndexFactory* gstIndexFactory)

Sets our main struct and passes it to the parent class

this
this(string name, string longdesc, GType type)

Create a new indexfactory with the given parameters

Members

Functions

create
Index create()

Create a new GstIndex instance from the given indexfactory.

destroy
void destroy()

Removes the index from the global list.

getIndexFactoryStruct
GstIndexFactory* getIndexFactoryStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

find
IndexFactory find(string name)

Search for an indexfactory of the given name.

make
Index make(string name)

Create a new GstIndex instance from the indexfactory with the given name.

Variables

gstIndexFactory
GstIndexFactory* gstIndexFactory;

the main Gtk struct

Inherited Members

From PluginFeature

gstPluginFeature
GstPluginFeature* gstPluginFeature;

the main Gtk struct

getPluginFeatureStruct
GstPluginFeature* getPluginFeatureStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
typeNameFilter
int typeNameFilter(GstTypeNameData* data)

Compares type and name of plugin feature. Can be used with gst_filter_run().

setRank
void setRank(uint rank)

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

setFeatureName
void setFeatureName(string name)

Sets the name of a plugin feature. The name uniquely identifies a feature within all features of the same type. Renaming a plugin feature is not allowed. A copy is made of the name so you should free the supplied name after calling this function.

getRank
uint getRank()

Gets the rank of a plugin feature.

getName
string getName()

Gets the name 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.

listFree
void listFree(ListG list)

Unrefs each member of list, then frees the list.

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

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

Meta