Next: , Previous: GstImplementsInterface, Up: Top


17 GstIndexFactory

Create GstIndexes from a factory

17.1 Overview

GstIndexFactory is used to dynamically create GstIndex implementations.

17.2 Usage

— Class: <gst-index-factory>

This <gobject> class defines no properties, other than those defined by its superclasses.

— Function: gst-index-factory-new (name mchars) (longdesc mchars) (type <gtype>)   (ret <gst-index-factory>)

Create a new indexfactory with the given parameters

name
name of indexfactory to create
longdesc
long description of indexfactory to create
type
the GType of the GstIndex element of this factory
ret
a new <gst-index-factory>.
— Function: gst-index-factory-destroy (self <gst-index-factory>)
— Method: destroy

Removes the index from the global list.

factory
factory to destroy
— Function: gst-index-factory-find (name mchars)   (ret <gst-index-factory>)

Search for an indexfactory of the given name.

name
name of indexfactory to find
ret
<gst-index-factory> if found, NULL otherwise
— Function: gst-index-factory-create (self <gst-index-factory>)   (ret <gst-index>)
— Method: create

Create a new <gst-index> instance from the given indexfactory.

factory
the factory used to create the instance
ret
A new <gst-index> instance.
— Function: gst-index-factory-make (name mchars)   (ret <gst-index>)

Create a new <gst-index> instance from the indexfactory with the given name.

name
the name of the factory used to create the instance
ret
A new <gst-index> instance.