GstIndexFactory

GstIndexFactory — Create GstIndexes from a factory

Synopsis


#include <gst/gst.h>


            GstIndexFactory;
GstIndexFactory* gst_index_factory_new      (const gchar *name,
                                             const gchar *longdesc,
                                             GType type);
void        gst_index_factory_destroy       (GstIndexFactory *factory);
GstIndexFactory* gst_index_factory_find     (const gchar *name);
GstIndex*   gst_index_factory_create        (GstIndexFactory *factory);
GstIndex*   gst_index_factory_make          (const gchar *name);


Object Hierarchy


  GObject
   +----GstObject
         +----GstPluginFeature
               +----GstIndexFactory

Description

GstIndexFactory is used to dynamically create GstIndex implementations.

Details

GstIndexFactory

typedef struct _GstIndexFactory GstIndexFactory;

The GstIndexFactory object


gst_index_factory_new ()

GstIndexFactory* gst_index_factory_new      (const gchar *name,
                                             const gchar *longdesc,
                                             GType type);

Create a new indexfactory with the given parameters

name :name name of indexfactory to create name of indexfactory to create longdesc :longdesc long description of indexfactory to create long description of indexfactory to create type :type the GType of the GstIndex element of this factory the GType of the GstIndex element of this factory Returns :Returns a new GstIndexFactory. a new GstIndexFactory. GstIndexFactoryGstIndexFactory
name : name of indexfactory to create
longdesc : long description of indexfactory to create
type : the GType of the GstIndex element of this factory
Returns : a new GstIndexFactory.

gst_index_factory_destroy ()

void        gst_index_factory_destroy       (GstIndexFactory *factory);

Removes the index from the global list.

factory :factory factory to destroy factory to destroy
factory : factory to destroy

gst_index_factory_find ()

GstIndexFactory* gst_index_factory_find     (const gchar *name);

Search for an indexfactory of the given name.

name :name name of indexfactory to find name of indexfactory to find Returns :Returns GstIndexFactory if found, NULL otherwise GstIndexFactory if found, NULL otherwise GstIndexFactoryGstIndexFactory
name : name of indexfactory to find
Returns : GstIndexFactory if found, NULL otherwise

gst_index_factory_create ()

GstIndex*   gst_index_factory_create        (GstIndexFactory *factory);

Create a new GstIndex instance from the given indexfactory.

factory :factory the factory used to create the instance the factory used to create the instance Returns :Returns A new GstIndex instance. A new GstIndex instance. GstIndexGstIndex
factory : the factory used to create the instance
Returns : A new GstIndex instance.

gst_index_factory_make ()

GstIndex*   gst_index_factory_make          (const gchar *name);

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

name :name the name of the factory used to create the instance the name of the factory used to create the instance Returns :Returns A new GstIndex instance. A new GstIndex instance. GstIndexGstIndex
name : the name of the factory used to create the instance
Returns : A new GstIndex instance.

See Also

GstIndex