![]() |
![]() |
![]() |
GStreamer 0.9 Core Reference Manual | ![]() |
---|
GstRegistryGstRegistry — Abstract base class for management of GstPlugin objects |
#include <gst/gst.h> gboolean gst_default_registry_check_feature_version (const gchar *feature_name, guint min_major, guint min_minor, guint min_micro); #define gst_default_registry_get_path_list() #define gst_default_registry_add_plugin (plugin) #define gst_default_registry_add_path (path) #define gst_default_registry_find_plugin(name) #define gst_default_registry_find_feature(name,type) #define gst_default_registry_get_plugin_list() #define gst_default_registry_feature_filter(filter,first,user_data)
One registry holds the metadata of a set of plugins. All registries build the GstRegistryPool.
gboolean gst_default_registry_check_feature_version (const gchar *feature_name, guint min_major, guint min_minor, guint min_micro);
Checks whether a plugin feature by the given name exists in the default registry and whether its version is at least the version required.
feature_name : |
the name of the feature (e.g. "oggdemux") |
min_major : |
the minimum major version number |
min_minor : |
the minimum minor version number |
min_micro : |
the minimum micro version number |
Returns : | TRUE if the feature could be found and the version is the same as the required version or newer, and FALSE otherwise. |
#define gst_default_registry_get_path_list()
Get the list of paths for the default registry.
#define gst_default_registry_add_plugin(plugin)
Add the plugin to the default registry. The plugin-added signal will be emitted.
plugin : |
the plugin to add |
#define gst_default_registry_add_path(path)
Add the given path to the default registry. The syntax of the path is specific to the registry. If the path has already been added, do nothing.
path : |
the path to add to the registry |
#define gst_default_registry_find_plugin(name)
Find the plugin with the given name in the default registry. The plugin will be reffed; caller is responsible for unreffing.
name : |
the plugin name to find |
#define gst_default_registry_find_feature(name,type)
Find the pluginfeature with the given name and type in the default registry.
name : |
the pluginfeature name to find |
type : |
the pluginfeature type to find |
#define gst_default_registry_get_plugin_list()
Get a copy of all plugins registered in the default registry.
#define gst_default_registry_feature_filter(filter,first,user_data)
Runs a filter against all features of the plugins in the default registry and returns a GList with the results. If the first flag is set, only the first match is returned (as a list with a single object).
filter : |
the filter to use |
first : |
only return first match |
user_data : |
user data passed to the filter function |
<< GstQueue | GstStructure >> |