GObject.Object
Gst.Object
Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstObject |
Class : | Object |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : void*
read only
|
Gst.Object | |
flags : Number
read only
|
Gst.Object | |
lock : GLib.Mutex
read only
|
Gst.Object | |
name : String
|
Gst.Object | |
name : String
read only
|
Gst.Object | |
name_prefix : String
read only
|
Gst.Object | |
object : GObject.Object
read only
|
Gst.Object | |
parent : Gst.Object
read only
|
Gst.Object | |
refcount : Number
read only
|
Gst.Object |
Method / Constructor | Defined By | |
---|---|---|
new Gst.Object
(Object properties)
Create a new Gst.Object
Create a new Gst.Object
|
||
Checks to see if there is any object named name in list.
Checks to see if there is any object named name in list. This function does not do any locking of any kind. You might want to protect the provided list with the lock of the owner of the list. This function will lock each GstObject in the list to compare the name, so be carefull when passing a list with a locked object. FALSE if it does. MT safe. Grabs and releases the LOCK of each object in the list.
|
Gst.Object | |
Gst.Object.default_deep_notify
(Object object, Object orig, ParamSpec pspec, Array excluded_props)
:
none
A default deep_notify signal callback for an object.
A default deep_notify signal callback for an object. The user data should contain a pointer to an array of strings that should be excluded from the notify. The default handler will print the new value of the property using g_print. MT safe. This function grabs and releases object's LOCK for getting its path string.
|
Gst.Object | |
Gst.Object.ref_sink
(void* object)
:
none
Increase the reference count of object, and possibly remove the floating reference, if object has a floating reference.
Increase the reference count of object, and possibly remove the floating reference, if object has a floating reference. In other words, if the object is floating, then this call "assumes ownership" of the floating reference, converting it to a normal reference by clearing the floating flag while leaving the reference count unchanged. If the object is not floating, then this call adds a new normal reference increasing the reference count by one. MT safe. This function grabs and releases object lock.
|
Gst.Object | |
Gst.Object.sink
(void* object)
:
none
If object was floating, the GST_OBJECT_FLOATING flag is removed and object is unreffed.
If object was floating, the GST_OBJECT_FLOATING flag is removed and object is unreffed. When object was not floating, this function does nothing. Any newly created object has a refcount of 1 and is floating. This function should be used when creating a new object to symbolically 'take ownership' of object. This done by first doing a gst_object_ref() to keep a reference to object and then gst_object_sink() to remove and unref any floating references to object. Use gst_object_set_parent() to have this done for you. MT safe. This function grabs and releases object lock.
|
Gst.Object | |
Gst.Object | ||
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_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 | |
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 | |
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 | |
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 |
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 | |
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 |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst
Method |
Emits the "child-added" signal.
|
Gst
Method |
Emits the "child-removed" signal.
|
Gst
Method |
Gets a single property using the GstChildProxy mechanism.
|
Gst
Method |
Looks up which object and GParamSpec would be effected by the given name.
|
Gst
Method |
Sets a single property using the GstChildProxy mechanism.
|
Gst
Method |
emits the named class signal.
|
Gst.ChildProxy
Method |
get_child_by_name
(String name)
:
Gst.Object
Looks up a child element by the given name.
|
Gst.ChildProxy
Method |
get_child_by_index
(Number index)
:
Gst.Object
Fetches a child by its number.
|
Gst.Index
Method |
Before entries can be added to the index, a writer should obtain a unique id.
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
new Gst.Message.state_changed
(Object src, State oldstate, State newstate, State pending)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
new Gst.Message.step_done
(Object src, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate, Number duration, Boolean eos)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
new Gst.Message.structure_change
(Object src, StructureChangeType type, Element owner, Boolean busy)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
new Gst.Message.step_start
(Object src, Boolean active, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
new Gst.Message.qos
(Object src, Boolean live, Number running_time, Number stream_time, Number timestamp, Number duration)
:
Gst.Message
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Pad
Method |
Reads the pad definition from the XML node and links the given pad in the element to a pad of an element up in the hierarchy.
|
Gst.XML
Signal |
Signals that a new object has been deserialized.
|
Gst.XML
Method |
Load the element from the XML description
|
GstBase
Method |
Tries to find what type of data is contained in the given GstBuffer, the assumption being that the buffer represents the beginning of the stream or file.
|
GstBase
Method |
Tries to find the best GstCaps associated with extension.
|
GstBase
Method |
GstBase.type_find_helper_get_range
(Object obj, Function func, Number size, TypeFindProbability prob)
:
Gst.Caps
Utility function to do pull-based typefinding.
|
GstBase
Method |
GstBase.type_find_helper_get_range_ext
(Object obj, Function func, Number size, String extension, TypeFindProbability prob)
:
Gst.Caps
Utility function to do pull-based typefinding.
|
GstInterfaces
Method |
GstInterfaces.navigation_message_new_angles_changed
(Object src, Number cur_angle, Number n_angles)
:
Gst.Message
Creates a new GstNavigation message with type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED for notifying an application that the current angle, or current number of angles available in a multiangle video has changed.
|
GstInterfaces
Method |
Creates a new GstNavigation message with type GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED
|
GstInterfaces
Method |
FALSE if it over a non-clickable area.
|