![]() |
![]() |
![]() |
GStreamer 0.10 Core Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#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);
GstIndexFactory* gst_index_factory_new (const gchar *name, const gchar *longdesc, GType type);
Create a new indexfactory with the given parameters
|
name of indexfactory to create |
|
long description of indexfactory to create |
|
the GType of the GstIndex element of this factory |
Returns : |
a new GstIndexFactory. |
void gst_index_factory_destroy (GstIndexFactory *factory);
Removes the index from the global list.
|
factory to destroy |
GstIndexFactory* gst_index_factory_find (const gchar *name);
Search for an indexfactory of the given name.
|
name of indexfactory to find |
Returns : |
GstIndexFactory if found, NULL otherwise |
GstIndex* gst_index_factory_create (GstIndexFactory *factory);
Create a new GstIndex instance from the given indexfactory.
|
the factory used to create the instance |
Returns : |
A new GstIndex instance. |