Details
enum GstRegistryReturn
typedef enum {
GST_REGISTRY_OK = (0),
GST_REGISTRY_LOAD_ERROR = (1 << 1),
GST_REGISTRY_SAVE_ERROR = (1 << 2),
GST_REGISTRY_PLUGIN_LOAD_ERROR = (1 << 3),
GST_REGISTRY_PLUGIN_SIGNATURE_ERROR = (1 << 4)
} GstRegistryReturn; |
enum GstRegistryFlags
typedef enum {
GST_REGISTRY_READABLE = (1 << 1),
GST_REGISTRY_WRITABLE = (1 << 2),
GST_REGISTRY_EXISTS = (1 << 3),
GST_REGISTRY_REMOTE = (1 << 4),
GST_REGISTRY_DELAYED_LOADING = (1 << 5)
} GstRegistryFlags; |
struct GstRegistry
struct GstRegistry {
GObject object;
gint priority;
GstRegistryFlags flags;
gchar *name;
gchar *details;
gboolean loaded;
GList *plugins;
GList *paths;
}; |
gst_registry_load ()
Load the given registry
gst_registry_is_loaded ()
gboolean gst_registry_is_loaded (GstRegistry *registry); |
Check if the given registry is loaded
gst_registry_save ()
Save the contents of the given registry
gst_registry_rebuild ()
Rebuild the given registry
gst_registry_unload ()
Unload the given registry
gst_registry_add_path ()
void gst_registry_add_path (GstRegistry *registry,
const gchar *path); |
Add the given path to the registry. The syntax of the
path is specific to the registry. If the path has already been
added, do nothing.
gst_registry_get_path_list ()
GList* gst_registry_get_path_list (GstRegistry *registry); |
Get the list of paths for the given registry.
gst_registry_clear_paths ()
Clear the paths of the given registry
gst_registry_add_plugin ()
Add the plugin to the registry. The plugin-added signal
will be emitted.
gst_registry_remove_plugin ()
Remove the plugin from the registry.
gst_registry_find_plugin ()
Find the plugin with the given name in the registry.
gst_registry_find_feature ()
Find the pluginfeature with the given name and type in the registry.
gst_registry_load_plugin ()
Bring the plugin from the registry into memory.
gst_registry_unload_plugin ()
Unload the plugin from the given registry.
gst_registry_update_plugin ()
Update the plugin in the given registry.
gst_registry_pool_list ()
GList* gst_registry_pool_list (void); |
Get a list of all registries in the pool
gst_registry_pool_add ()
void gst_registry_pool_add (GstRegistry *registry,
guint priority); |
Add the registry to the pool with the given priority.
gst_registry_pool_remove ()
Remove the registry from the pool.
gst_registry_pool_add_plugin ()
void gst_registry_pool_add_plugin (GstPlugin *plugin); |
Add the plugin to the global pool of plugins.
gst_registry_pool_load_all ()
void gst_registry_pool_load_all (void); |
Load all the registries in the pool. Registries with the
GST_REGISTRY_DELAYED_LOADING will not be loaded.
gst_registry_pool_plugin_list ()
GList* gst_registry_pool_plugin_list (void); |
Get a list of all plugins in the pool.
gst_registry_pool_feature_list ()
GList* gst_registry_pool_feature_list (GType type); |
Get a list of all pluginfeatures of the given type in the pool.
gst_registry_pool_find_plugin ()
GstPlugin* gst_registry_pool_find_plugin (const gchar *name); |
Get the named plugin from the registry pool
gst_registry_pool_find_feature ()
GstPluginFeature* gst_registry_pool_find_feature
(const gchar *name,
GType type); |
Get the pluginfeature with the given name and type from the pool of
registries.
gst_registry_pool_get_prefered ()
Get the prefered registry with the given flags