![]() | ![]() | ![]() | GStreamer 0.8 Core API Reference (0.8.0) | ![]() |
---|
GstPluginFeature — The base class for plugable objects.
#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);
This is a base class for anything that can be added to a GstPlugin.
#define GST_PLUGIN_FEATURE_NAME(feature) (GST_PLUGIN_FEATURE (feature)->name)
Get the name of the feature
feature : | The feature to query |
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. |
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 |
<< GstPlugin | GstProbe >> |