|  |  |  | GStreamer 0.8 Core API Reference (0.8.4) |  | 
|---|
GstPluginFeature — Base class for contents of a GstPlugin
struct GstPluginFeature; #define GST_PLUGIN_FEATURE_NAME (feature) struct GstTypeNameData; gboolean (*GstPluginFeatureFilter) (GstPluginFeature *feature, gpointer user_data); gboolean gst_plugin_feature_ensure_loaded (GstPluginFeature *feature); void gst_plugin_feature_unload_thyself (GstPluginFeature *feature); gboolean gst_plugin_feature_type_name_filter (GstPluginFeature *feature, GstTypeNameData *data); void gst_plugin_feature_set_rank (GstPluginFeature *feature, guint rank); void gst_plugin_feature_set_name (GstPluginFeature *feature, const gchar *name); guint gst_plugin_feature_get_rank (GstPluginFeature *feature); G_CONST_RETURN gchar* gst_plugin_feature_get_name (GstPluginFeature *feature);
  GObject
   +----GstPluginFeature
         +----GstElementFactory
         +----GstSchedulerFactory
         +----GstTypeFindFactory
         +----GstIndexFactory
#define GST_PLUGIN_FEATURE_NAME(feature) (GST_PLUGIN_FEATURE (feature)->name)
Get the name of the feature
| feature : | The feature to query | 
gboolean (*GstPluginFeatureFilter) (GstPluginFeature *feature, gpointer user_data);
| feature : | |
| user_data : | |
| Returns : | 
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 | 
gboolean    gst_plugin_feature_type_name_filter
                                            (GstPluginFeature *feature,
                                             GstTypeNameData *data);
| feature : | |
| data : | |
| Returns : | 
void gst_plugin_feature_set_rank (GstPluginFeature *feature, guint rank);
Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
| feature : | feature to rank | 
| rank : | rank value - higher number means more priority rank | 
void gst_plugin_feature_set_name (GstPluginFeature *feature, const gchar *name);
Sets the name of a plugin feature. The name uniquely identifies a feature within all features of the same type. Renaming a plugin feature is not allowed.
| feature : | a feature | 
| name : | the name to set | 
guint gst_plugin_feature_get_rank (GstPluginFeature *feature);
| feature : | |
| Returns : | 
G_CONST_RETURN gchar* gst_plugin_feature_get_name
                                            (GstPluginFeature *feature);Gets the name of a plugin feature.
| feature : | a feature | 
| Returns : | the name | 
| << GstPlugin | GstProbe >> |