GstAutoplugFactory

Name

GstAutoplugFactory -- Create autopluggers from a factory.

Synopsis


#include <gst/gst.h>


struct      GstAutoplugFactory;
GstAutoplugFactory* gst_autoplug_factory_new
                                            (const gchar *name,
                                             const gchar *longdesc,
                                             GType type);
void        gst_autoplug_factory_destroy    (GstAutoplugFactory *factory);
GstAutoplugFactory* gst_autoplug_factory_find
                                            (const gchar *name);
GstAutoplug* gst_autoplug_factory_create    (GstAutoplugFactory *factory);
GstAutoplug* gst_autoplug_factory_make      (const gchar *name);

Object Hierarchy


  GObject
   +----GstPluginFeature
         +----GstAutoplugFactory

Description

An autoplugfactory is used to create instances of an autoplugger. It can be added to a GstPlugin as it extends GstPluginFeature.

Use gst_autoplug_factory_new() to create a new autoplugger which can be registered to a plugin with gst_plugin_add_feature().

Use gst_autoplug_factory_find() to find the named autoplugfactory. or use gst_autoplug_factory_get_list() to get a list of all available autopluggers.

Once an autoplugfactory has been obtained use gst_autoplug_factory_create() to instantiate a real autoplugger. Optionally gst_autoplug_factory_make() to create a autoplugger from the named factory.

Use gst_autoplug_factory_destroy() to remove the factory from the global list.

Details

struct GstAutoplugFactory

struct GstAutoplugFactory;


gst_autoplug_factory_new ()

GstAutoplugFactory* gst_autoplug_factory_new
                                            (const gchar *name,
                                             const gchar *longdesc,
                                             GType type);

Create a new autoplugfactory with the given parameters


gst_autoplug_factory_destroy ()

void        gst_autoplug_factory_destroy    (GstAutoplugFactory *factory);

Removes the autoplug from the global list.


gst_autoplug_factory_find ()

GstAutoplugFactory* gst_autoplug_factory_find
                                            (const gchar *name);

Search for an autoplugfactory of the given name.


gst_autoplug_factory_create ()

GstAutoplug* gst_autoplug_factory_create    (GstAutoplugFactory *factory);

Create a new GstAutoplug instance from the given autoplugfactory.


gst_autoplug_factory_make ()

GstAutoplug* gst_autoplug_factory_make      (const gchar *name);

Create a new GstAutoplug instance from the autoplugfactory with the given name.

See Also

GstAutoplug, GstPlugin, GstPluginFeature.