GObject.Object
Gst.Object
Gst.Registry
Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstRegistry |
Class : | Registry |
Extends: | Gst.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : Array
read only
|
Gst.Registry | |
basename_hash : Object
read only
|
Gst.Registry | |
cache_file : Number
read only
|
Gst.Registry | |
feature_hash : Object
read only
|
Gst.Registry | |
features : Array
read only
|
Gst.Registry | |
flags : Number
read only
|
Gst.Object | |
lock : GLib.Mutex
read only
|
Gst.Object | |
name : String
|
Gst.Object | |
name_prefix : String
read only
|
Gst.Object | |
object : Gst.Object
read only
|
Gst.Registry | |
parent : Gst.Object
read only
|
Gst.Object | |
paths : Array
read only
|
Gst.Registry | |
plugins : Array
read only
|
Gst.Registry | |
priv : Gst.RegistryPrivate
read only
|
Gst.Registry | |
refcount : Number
read only
|
Gst.Object |
Method / Constructor | Defined By | |
---|---|---|
new Gst.Registry
(Object properties)
Create a new Gst.Registry
Create a new Gst.Registry
|
||
Gst.Registry.fork_is_enabled
()
:
Boolean
By default GStreamer will perform scanning and rebuilding of the registry file using a helper child process.
By default GStreamer will perform scanning and rebuilding of the registry file using a helper child process. Applications might want to disable this behaviour with the gst_registry_fork_set_enabled() function, in which case new plugins are scanned (and loaded) into the application process. rebuilding the registry.
|
Gst.Registry | |
Gst.Registry.fork_set_enabled
(Boolean enabled)
:
none
Applications might want to disable/enable spawning of a child helper process when rebuilding the registry.
Applications might want to disable/enable spawning of a child helper process when rebuilding the registry. See gst_registry_fork_is_enabled() for more information.
|
Gst.Registry | |
Gst.Registry.get_default
()
:
Gst.Registry
Retrieves the default registry.
Retrieves the default registry. The caller does not own a reference on the registry, as it is alive as long as GStreamer is initialized.
|
Gst.Registry | |
add_feature
(PluginFeature feature)
:
Boolean
Add the feature to the registry.
Add the feature to the registry. The feature-added signal will be emitted. This function sinks feature. MT safe.
|
Gst.Registry | |
add_path
(String path)
:
none
Add the given path to the registry.
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 | |
Add the plugin to the registry.
Add the plugin to the registry. The plugin-added signal will be emitted. This function will sink plugin. MT safe.
|
Gst.Registry | |
Gst.Object | ||
Runs a filter against all features of the plugins in the registry and returns a GList with the results.
Runs a filter against all features of the plugins in the 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). after usage. MT safe.
|
Gst.Registry | |
Find the pluginfeature with the given name and type in the registry.
Find the pluginfeature with the given name and type in the registry. if the plugin was not found. gst_object_unref() after usage. MT safe.
|
Gst.Registry | |
find_plugin
(String name)
:
Gst.Plugin
Find the plugin with the given name in the registry.
Find the plugin with the given name in the registry. The plugin will be reffed; caller is responsible for unreffing. gst_object_unref() after usage. MT safe.
|
Gst.Registry | |
Gst.Registry | ||
Gst.Registry | ||
get_feature_list_cookie
()
:
Number
Returns the registrys feature list cookie.
Returns the registrys feature list cookie. This changes every time a feature is added or removed from the registry.
|
Gst.Registry | |
get_name
()
:
String
Returns a copy of the name of object.
Returns a copy of the name of object. Caller should g_free() the return value after usage. For a nameless object, this returns NULL, which you can safely g_free() as well. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
get_name_prefix
()
:
String
Returns a copy of the name prefix of object.
Returns a copy of the name prefix of object. Caller should g_free() the return value after usage. For a prefixless object, this returns NULL, which you can safely g_free() as well. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
get_parent
()
:
Gst.Object
Returns the parent of object.
Returns the parent of object. This function increases the refcount of the parent object so you should gst_object_unref() it after usage. MT safe. Grabs and releases object's LOCK.
|
Gst.Object | |
get_path_list
()
:
Array
Get the list of paths for the given registry.
Get the list of paths for the given registry. MT safe.
|
Gst.Registry | |
get_path_string
()
:
String
Generates a string describing the path of object in the object hierarchy.
Generates a string describing the path of object in the object hierarchy. Only useful (or used) for debugging. MT safe. Grabs and releases the GstObject's LOCK for all objects in the hierarchy.
|
Gst.Object | |
get_plugin_list
()
:
Array
Get a copy of all plugins registered in the given registry.
Get a copy of all plugins registered in the given registry. The refcount of each element in the list in incremented. MT safe.
|
Gst.Registry | |
Check if object has an ancestor ancestor somewhere up in the hierarchy.
Check if object has an ancestor ancestor somewhere up in the hierarchy. MT safe. Grabs and releases object's locks.
|
Gst.Object | |
lookup
(String filename)
:
Gst.Plugin
Look up a plugin in the given registry with the given filename.
Look up a plugin in the given registry with the given filename. If found, plugin is reffed. after usage.
|
Gst.Registry | |
lookup_feature
(String name)
:
Gst.PluginFeature
Find a GstPluginFeature with name in registry.
Find a GstPluginFeature with name in registry. gst_object_unref() after usage. MT safe.
|
Gst.Registry | |
Runs a filter against all plugins in the registry and returns a GList with the results.
Runs a filter against all plugins in the 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). Every plugin is reffed; use gst_plugin_list_free() after use, which will unref again. MT safe.
|
Gst.Registry | |
remove_feature
(PluginFeature feature)
:
none
Remove the feature from the registry.
Remove the feature from the registry. MT safe.
|
Gst.Registry | |
remove_plugin
(Plugin plugin)
:
none
Remove the plugin from the registry.
Remove the plugin from the registry. MT safe.
|
Gst.Registry | |
replace
(Object newobj)
:
none
Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj.
Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj. Be carefull when calling this function, it does not take any locks. You might want to lock the object owning oldobj pointer before calling this function. Make sure not to LOCK oldobj because it might be unreffed which could cause a deadlock when it is disposed.
|
Gst.Object | |
restore_thyself
(Node self)
:
none
Restores object with the data from the parent XML node.
Restores object with the data from the parent XML node.
|
Gst.Object | |
save_thyself
(Node parent)
:
libxml2.Node
Saves object into the parent XML node.
Saves object into the parent XML node.
|
Gst.Object | |
Gst.Registry | ||
Sets the name of object, or gives object a guaranteed unique name (if name is NULL).
Sets the name of object, or gives object a guaranteed unique name (if name is NULL). This function makes a copy of the provided name, so the caller retains ownership of the name it sent. a parent cannot be renamed, this function returns FALSE in those cases. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
set_name_prefix
(String name_prefix)
:
none
Sets the name prefix of object to name_prefix.
Sets the name prefix of object to name_prefix. This function makes a copy of the provided name prefix, so the caller retains ownership of the name prefix it sent. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
Sets the parent of object to parent.
Sets the parent of object to parent. The object's reference count will be incremented, and any floating reference will be removed (see gst_object_sink()). This function causes the parent-set signal to be emitted when the parent was successfully set. already had a parent or object and parent are the same. MT safe. Grabs and releases object's LOCK.
|
Gst.Object | |
unparent
()
:
none
Clear the parent of object, removing the associated reference.
Clear the parent of object, removing the associated reference. This function decreases the refcount of object. MT safe. Grabs and releases object's lock.
|
Gst.Object | |
Gst.Registry | ||
Gst.Registry |
Event | Defined By | |
---|---|---|
The deep notify signal is used to be notified of property changes.
The deep notify signal is used to be notified of property changes. It is typically attached to the toplevel bin to receive notifications from all the elements contained in that bin.
|
Gst.Object | |
Signals that a feature has been added to the registry (possibly replacing a previously-added one by the same name)
Signals that a feature has been added to the registry (possibly replacing a previously-added one by the same name)
|
Gst.Registry | |
Trigered whenever a new object is saved to XML.
Trigered whenever a new object is saved to XML. You can connect to this signal to insert custom XML tags into the core XML.
|
Gst.Object | |
Emitted when the parent of an object is set.
Emitted when the parent of an object is set.
|
Gst.Object | |
Emitted when the parent of an object is unset.
Emitted when the parent of an object is unset.
|
Gst.Object | |
Signals that a plugin has been added to the registry (possibly replacing a previously-added one by the same name)
Signals that a plugin has been added to the registry (possibly replacing a previously-added one by the same name)
|
Gst.Registry |