GstPlugin: GStreamer 1.0 Core Reference Manual

## GstPlugin GstPlugin |

## Functions

GQuark | gst_plugin_error_quark ()
gboolean | (*GstPluginInitFunc) ()
gboolean | (*GstPluginInitFullFunc) ()
#define | GST_PLUGIN_DEFINE()
#define | GST_PLUGIN_STATIC_DECLARE()
#define | GST_PLUGIN_STATIC_REGISTER()
gboolean | (*GstPluginFilter) ()
const gchar * | gst_plugin_get_name ()
const gchar * | gst_plugin_get_description ()
const gchar * | gst_plugin_get_filename ()
const gchar * | gst_plugin_get_license ()
const gchar * | gst_plugin_get_package ()
const gchar * | gst_plugin_get_origin ()
const gchar * | gst_plugin_get_source ()
const gchar * | gst_plugin_get_version ()
const gchar * | gst_plugin_get_release_date_string ()
gboolean | gst_plugin_is_loaded ()
const GstStructure * | gst_plugin_get_cache_data ()
void | gst_plugin_set_cache_data ()
GstPlugin * | gst_plugin_load_file ()
GstPlugin * | gst_plugin_load ()
GstPlugin * | gst_plugin_load_by_name ()
void | gst_plugin_list_free ()
gboolean | gst_plugin_register_static ()
gboolean | gst_plugin_register_static_full ()
void | gst_plugin_add_dependency ()
void | gst_plugin_add_dependency_simple ()

## Types and Values

#define | GST_PLUGIN_ERROR
enum | GstPluginError
| GstPlugin
struct | GstPluginDesc
#define | GST_LICENSE_UNKNOWN
enum | GstPluginFlags
enum | GstPluginDependencyFlags

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GstObject
                ╰── GstPlugin

## Includes

    #include <gst/gst.h>

## Description

## Functions

### gst_plugin_error_quark ()

    GQuark
    gst_plugin_error_quark (void);

### GstPluginInitFunc ()

    gboolean
    (*GstPluginInitFunc) (GstPlugin *plugin);

### GstPluginInitFullFunc ()

    gboolean
    (*GstPluginInitFullFunc) (GstPlugin *plugin,
                              gpointer user_data);

### GST_PLUGIN_DEFINE()

    #define             GST_PLUGIN_DEFINE(major,minor,name,description,init,version,license,package,origin)

### GST_PLUGIN_STATIC_DECLARE()

    #define             GST_PLUGIN_STATIC_DECLARE(name)

### GST_PLUGIN_STATIC_REGISTER()

    #define GST_PLUGIN_STATIC_REGISTER(name) G_PASTE(gst_plugin_, G_PASTE(name, _register)) ()

### GstPluginFilter ()

    gboolean
    (*GstPluginFilter) (GstPlugin *plugin,
                        gpointer user_data);

### gst_plugin_get_name ()

    const gchar *
    gst_plugin_get_name (GstPlugin *plugin);

### gst_plugin_get_description ()

    const gchar *
    gst_plugin_get_description (GstPlugin *plugin);

### gst_plugin_get_filename ()

    const gchar *
    gst_plugin_get_filename (GstPlugin *plugin);

### gst_plugin_get_license ()

    const gchar *
    gst_plugin_get_license (GstPlugin *plugin);

### gst_plugin_get_package ()

    const gchar *
    gst_plugin_get_package (GstPlugin *plugin);

### gst_plugin_get_origin ()

    const gchar *
    gst_plugin_get_origin (GstPlugin *plugin);

### gst_plugin_get_source ()

    const gchar *
    gst_plugin_get_source (GstPlugin *plugin);

### gst_plugin_get_version ()

    const gchar *
    gst_plugin_get_version (GstPlugin *plugin);

### gst_plugin_get_release_date_string ()

    const gchar *
    gst_plugin_get_release_date_string (GstPlugin *plugin);

### gst_plugin_is_loaded ()

    gboolean
    gst_plugin_is_loaded (GstPlugin *plugin);

### gst_plugin_get_cache_data ()

    const GstStructure *
    gst_plugin_get_cache_data (GstPlugin *plugin);

### gst_plugin_set_cache_data ()

    void
    gst_plugin_set_cache_data (GstPlugin *plugin,
                               GstStructure *cache_data);

### gst_plugin_load_file ()

    GstPlugin *
    gst_plugin_load_file (const gchar *filename,
                          GError **error);

### gst_plugin_load ()

    GstPlugin *
    gst_plugin_load (GstPlugin *plugin);

### gst_plugin_load_by_name ()

    GstPlugin *
    gst_plugin_load_by_name (const gchar *name);

### gst_plugin_list_free ()

    void
    gst_plugin_list_free (GList *list);

### gst_plugin_register_static ()

    gboolean
    gst_plugin_register_static (gint major_version,
                                gint minor_version,
                                const gchar *name,
                                const gchar *description,
                                GstPluginInitFunc init_func,
                                const gchar *version,
                                const gchar *license,
                                const gchar *source,
                                const gchar *package,
                                const gchar *origin);

### gst_plugin_register_static_full ()

    gboolean
    gst_plugin_register_static_full (gint major_version,
                                     gint minor_version,
                                     const gchar *name,
                                     const gchar *description,
                                     GstPluginInitFullFunc init_full_func,
                                     const gchar *version,
                                     const gchar *license,
                                     const gchar *source,
                                     const gchar *package,
                                     const gchar *origin,
                                     gpointer user_data);

### gst_plugin_add_dependency ()

    void
    gst_plugin_add_dependency (GstPlugin *plugin,
                               const gchar **env_vars,
                               const gchar **paths,
                               const gchar **names,
                               GstPluginDependencyFlags flags);

### gst_plugin_add_dependency_simple ()

    void
    gst_plugin_add_dependency_simple (GstPlugin *plugin,
                                      const gchar *env_vars,
                                      const gchar *paths,
                                      const gchar *names,
                                      GstPluginDependencyFlags flags);

## Types and Values

### GST_PLUGIN_ERROR

    #define GST_PLUGIN_ERROR gst_plugin_error_quark ()

### enum GstPluginError

#### Members

GST_PLUGIN_ERROR_MODULE |  |
GST_PLUGIN_ERROR_DEPENDENCIES |  |
GST_PLUGIN_ERROR_NAME_MISMATCH |  |

### GstPlugin

    typedef struct _GstPlugin GstPlugin;

### struct GstPluginDesc

    struct GstPluginDesc {
      gint major_version;
      gint minor_version;
      const gchar *name;
      const gchar *description;
      GstPluginInitFunc plugin_init;
      const gchar *version;
      const gchar *license;
      const gchar *source;
      const gchar *package;
      const gchar *origin;
      const gchar *release_datetime;
    };

### GST_LICENSE_UNKNOWN

    #define GST_LICENSE_UNKNOWN "unknown"

### enum GstPluginFlags

#### Members

GST_PLUGIN_FLAG_CACHED |  |
GST_PLUGIN_FLAG_BLACKLISTED |  |

### enum GstPluginDependencyFlags

#### Members

GST_PLUGIN_DEPENDENCY_FLAG_NONE |  |
GST_PLUGIN_DEPENDENCY_FLAG_RECURSE |  |
GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY |  |
GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX |  |
GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX |  |