GstPluginFeature

GstPluginFeature — The base class for plugable objects.

Synopsis


#include <gst/gst.h>


#define     GST_PLUGIN_FEATURE_NAME         (feature)
gboolean    gst_plugin_feature_ensure_loaded
                                            (GstPluginFeature *feature);
void        gst_plugin_feature_unload_thyself
                                            (GstPluginFeature *feature);

Description

This is a base class for anything that can be added to a GstPlugin.

Details

GST_PLUGIN_FEATURE_NAME()

#define GST_PLUGIN_FEATURE_NAME(feature)  (GST_PLUGIN_FEATURE (feature)->name)

Get the name of the feature

feature :The feature to query

gst_plugin_feature_ensure_loaded ()

gboolean    gst_plugin_feature_ensure_loaded
                                            (GstPluginFeature *feature);

Check if the plugin containing the feature is loaded, if not, the plugin will be loaded.

feature : the plugin feature to check
Returns : a boolean indicating the feature is loaded.

gst_plugin_feature_unload_thyself ()

void        gst_plugin_feature_unload_thyself
                                            (GstPluginFeature *feature);

Unload the given feature. This will decrease the refcount in the plugin and will eventually unload the plugin

feature : the plugin feature to check

See Also

GstPlugin