GObject.Object
Gst.Object
Gst.Element
Gst.Bin
Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstBin |
Class : | Bin |
Implements: | Gst.ChildProxy |
Extends: | Gst.Element |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : Array
read only
|
Gst.Bin | |
async_handling : Boolean
|
Gst.Bin | |
base_time : Number
read only
|
Gst.Element | |
bus : Gst.Bus
read only
|
Gst.Element | |
child_bus : Gst.Bus
read only
|
Gst.Bin | |
children : Array
read only
|
Gst.Bin | |
children_cookie : Number
read only
|
Gst.Bin | |
clock : Gst.Clock
read only
|
Gst.Element | |
clock_dirty : Boolean
read only
|
Gst.Bin | |
clock_provider : Gst.Element
read only
|
Gst.Bin | |
current_state : Gst.State
read only
|
Gst.Element | |
element : Gst.Element
read only
|
Gst.Bin | |
flags : Number
read only
|
Gst.Object | |
last_return : Gst.StateChangeReturn
read only
|
Gst.Element | |
lock : GLib.Mutex
read only
|
Gst.Object | |
messages : Array
read only
|
Gst.Bin | |
name : String
|
Gst.Object | |
name_prefix : String
read only
|
Gst.Object | |
next_state : Gst.State
read only
|
Gst.Element | |
numchildren : Number
read only
|
Gst.Bin | |
numpads : Number
read only
|
Gst.Element | |
numsinkpads : Number
read only
|
Gst.Element | |
numsrcpads : Number
read only
|
Gst.Element | |
object : Gst.Object
read only
|
Gst.Element | |
pads : Array
read only
|
Gst.Element | |
pads_cookie : Number
read only
|
Gst.Element | |
parent : Gst.Object
read only
|
Gst.Object | |
pending_state : Gst.State
read only
|
Gst.Element | |
polling : Boolean
read only
|
Gst.Bin | |
priv : Gst.BinPrivate
read only
|
Gst.Bin | |
provided_clock : Gst.Clock
read only
|
Gst.Bin | |
refcount : Number
read only
|
Gst.Object | |
sinkpads : Array
read only
|
Gst.Element | |
srcpads : Array
read only
|
Gst.Element | |
state_cond : GLib.Cond
read only
|
Gst.Element | |
state_cookie : Number
read only
|
Gst.Element | |
state_dirty : Boolean
read only
|
Gst.Bin | |
state_lock : GLib.StaticRecMutex
read only
|
Gst.Element |
Method / Constructor | Defined By | |
---|---|---|
new Gst.Bin
(Object properties)
Create a new Gst.Bin
Create a new Gst.Bin
|
||
abort_state
()
:
none
Abort the state change of the element.
Abort the state change of the element. This function is used by elements that do asynchronous state changes and find out something is wrong. This function should be called with the STATE_LOCK held. MT safe.
|
Gst.Element | |
Adds the given element to the bin.
Adds the given element to the bin. Sets the element's parent, and thus takes ownership of the element. An element can only be added to one bin. If the element's pads are linked to other pads, the pads will be unlinked before the element is added to the bin. MT safe. the bin does not want to accept the element.
|
Gst.Bin | |
Adds a pad (link point) to element.
Adds a pad (link point) to element. pad's parent will be set to element; see gst_object_set_parent() for refcounting information. Pads are not automatically activated so elements should perform the needed steps to activate the pad in case this pad is added in the PAUSED or PLAYING state. See gst_pad_set_active() for more information about activating pads. The pad and the element should be unlocked when calling this function. This function will emit the GstElement::pad-added signal on the element. a pad with the same name already existed or the pad already had another parent. MT safe.
|
Gst.Element | |
change_state
(StateChange transition)
:
Gst.StateChangeReturn
Perform transition on element.
Perform transition on element. This function must be called with STATE_LOCK held and is mainly used internally.
|
Gst.Element | |
continue_state
(StateChangeReturn ret)
:
Gst.StateChangeReturn
Commit the state change of the element and proceed to the next pending state if any.
Commit the state change of the element and proceed to the next pending state if any. This function is used by elements that do asynchronous state changes. The core will normally call this method automatically when an element returned GST_STATE_CHANGE_SUCCESS from the state change function. If after calling this method the element still has not reached the pending state, the next state change is performed. This method is used internally and should normally not be called by plugins or applications. MT safe.
|
Gst.Element | |
create_all_pads
()
:
none
Creates a pad for each pad template that is always available.
Creates a pad for each pad template that is always available. This function is only useful during object intialization of subclasses of GstElement.
|
Gst.Element | |
Gst.Object | ||
find_unconnected_pad
(PadDirection direction)
:
Gst.Pad
Recursively looks for elements with an unlinked pad of the given direction within the specified bin and returns an unlinked pad if one is found, or NULL otherwise.
Recursively looks for elements with an unlinked pad of the given direction within the specified bin and returns an unlinked pad if one is found, or NULL otherwise. If a pad is found, the caller owns a reference to it and should use gst_object_unref() on the pad when it is not needed any longer.
|
Gst.Bin | |
find_unlinked_pad
(PadDirection direction)
:
Gst.Pad
Recursively looks for elements with an unlinked pad of the given direction within the specified bin and returns an unlinked pad if one is found, or NULL otherwise.
Recursively looks for elements with an unlinked pad of the given direction within the specified bin and returns an unlinked pad if one is found, or NULL otherwise. If a pad is found, the caller owns a reference to it and should use gst_object_unref() on the pad when it is not needed any longer.
|
Gst.Bin | |
found_tags
(TagList list)
:
none
Posts a message to the bus that new tags were found, and pushes an event to all sourcepads.
Posts a message to the bus that new tags were found, and pushes an event to all sourcepads. Takes ownership of the list. This is a utility method for elements. Applications should use the GstTagSetter interface.
|
Gst.Element | |
Posts a message to the bus that new tags were found and pushes the tags as event.
Posts a message to the bus that new tags were found and pushes the tags as event. Takes ownership of the list. This is a utility method for elements. Applications should use the GstTagSetter interface.
|
Gst.Element | |
get_base_time
()
:
Number
Returns the base time of the element.
Returns the base time of the element. The base time is the absolute time of the clock when this element was last put to PLAYING. Subtracting the base time from the clock time gives the running time of the element. MT safe.
|
Gst.Element | |
get_bus
()
:
Gst.Bus
Returns the bus of the element.
Returns the bus of the element. Note that only a GstPipeline will provide a bus for the application. MT safe.
|
Gst.Element | |
get_by_interface
(Number iface)
:
Gst.Element
Looks for an element inside the bin that implements the given interface.
Looks for an element inside the bin that implements the given interface. If such an element is found, it returns the element. You can cast this element to the given interface afterwards. If you want all elements that implement the interface, use gst_bin_iterate_all_by_interface(). This function recurses into child bins. MT safe. Caller owns returned reference.
|
Gst.Bin | |
get_by_name
(String name)
:
Gst.Element
Gets the element with the given name from a bin.
Gets the element with the given name from a bin. This function recurses into child bins. Returns NULL if no element with the given name is found in the bin. MT safe. Caller owns returned reference.
|
Gst.Bin | |
get_by_name_recurse_up
(String name)
:
Gst.Element
Gets the element with the given name from this bin.
Gets the element with the given name from this bin. If the element is not found, a recursion is performed on the parent bin. Returns NULL if: - no element with the given name is found in the bin MT safe. Caller owns returned reference.
|
Gst.Bin | |
get_child_by_index
(Number index)
:
Gst.Object
Fetches a child by its number.
Fetches a child by its number. after usage. MT safe.
|
Gst.ChildProxy | |
get_child_by_name
(String name)
:
Gst.Object
Looks up a child element by the given name.
Looks up a child element by the given name. Implementors can use GstObject together with gst_object_get_name() MT safe.
|
Gst.ChildProxy | |
get_children_count
()
:
Number
Gets the number of child objects this parent contains.
Gets the number of child objects this parent contains. MT safe.
|
Gst.ChildProxy | |
get_clock
()
:
Gst.Clock
Gets the currently configured clock of the element.
Gets the currently configured clock of the element. This is the clock as was last set with gst_element_set_clock(). MT safe.
|
Gst.Element | |
Looks for an unlinked pad to which the given pad can link.
|
Gst.Element | |
get_compatible_pad_template
(PadTemplate compattempl)
:
Gst.PadTemplate
Retrieves a pad template from element that is compatible with compattempl.
Retrieves a pad template from element that is compatible with compattempl. Pads from compatible templates can be linked together. unreferencing is necessary.
|
Gst.Element | |
get_factory
()
:
Gst.ElementFactory
Retrieves the factory that was used to create this element.
Retrieves the factory that was used to create this element. no refcounting is needed.
|
Gst.Element | |
get_index
()
:
Gst.Index
Gets the index from the element.
Gets the index from the element. element. unref after usage. MT safe.
|
Gst.Element | |
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 | |
Retrieves a pad from element by name.
Retrieves a pad from element by name. Tries gst_element_get_static_pad() first, then gst_element_get_request_pad(). to the result pad should be released with gst_object_unref() in case of a static pad or gst_element_release_request_pad() in case of a request pad. Use gst_element_get_static_pad() or gst_element_get_request_pad() instead. depending on the type of the pad.
|
Gst.Element | |
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 | |
get_query_types
()
:
Gst.QueryType
Get an array of query types from the element.
Get an array of query types from the element. If the element doesn't implement a query types function, the query will be forwarded to the peer of a random linked sink pad. be freed or modified. MT safe.
|
Gst.Element | |
Gst.Element | ||
get_start_time
()
:
Number
Returns the start time of the element.
Returns the start time of the element. The start time is the running time of the clock when this element was last put to PAUSED. Usually the start_time is managed by a toplevel element such as GstPipeline. MT safe.
|
Gst.Element | |
Gets the state of the element.
Gets the state of the element. For elements that performed an ASYNC state change, as reported by gst_element_set_state(), this function will block up to the specified timeout value for the state change to complete. If the element completes the state change or goes into an error, this function returns immediately with a return value of GST_STATE_CHANGE_SUCCESS or GST_STATE_CHANGE_FAILURE respectively. For elements that did not return GST_STATE_CHANGE_ASYNC, this function returns the current and pending state immediately. This function returns GST_STATE_CHANGE_NO_PREROLL if the element successfully changed its state but is not able to provide data yet. This mostly happens for live sources that only produce data in GST_STATE_PLAYING. While the state change return is equivalent to GST_STATE_CHANGE_SUCCESS, it is returned to the application to signal that some sink elements might not be able to complete their state change because an element is not producing data to complete the preroll. When setting the element to playing, the preroll will complete and playback will start. MT safe.
|
Gst.Element | |
Gst.Element | ||
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 | |
Test whether the given element implements a certain interface of type iface_type, and test whether it is supported for this specific instance.
|
Gst.Element | |
is_indexable
()
:
Boolean
Queries if the element can be indexed.
Queries if the element can be indexed. MT safe.
|
Gst.Element | |
is_locked_state
()
:
Boolean
Checks if the state of an element is locked.
Checks if the state of an element is locked. If the state of an element is locked, state changes of the parent don't affect the element. This way you can leave currently unused elements inside bins. Just lock their state before changing the state from GST_STATE_NULL. MT safe.
|
Gst.Element | |
iterate_all_by_interface
(Number iface)
:
Gst.Iterator
Looks for all elements inside the bin that implements the given interface.
Looks for all elements inside the bin that implements the given interface. You can safely cast all returned elements to the given interface. The function recurses inside child bins. The iterator will yield a series of GstElement that should be unreffed after use. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.
|
Gst.Bin | |
iterate_elements
()
:
Gst.Iterator
Gets an iterator for the elements in this bin.
Gets an iterator for the elements in this bin. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.
|
Gst.Bin | |
iterate_pads
()
:
Gst.Iterator
Retrieves an iterattor of element's pads.
Retrieves an iterattor of element's pads. The iterator should be freed after usage. MT safe.
|
Gst.Element | |
iterate_recurse
()
:
Gst.Iterator
Gets an iterator for the elements in this bin.
Gets an iterator for the elements in this bin. This iterator recurses into GstBin children. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.
|
Gst.Bin | |
iterate_sink_pads
()
:
Gst.Iterator
Retrieves an iterator of element's sink pads.
Retrieves an iterator of element's sink pads. MT safe.
|
Gst.Element | |
iterate_sinks
()
:
Gst.Iterator
Gets an iterator for all elements in the bin that have the GST_ELEMENT_IS_SINK flag set.
Gets an iterator for all elements in the bin that have the GST_ELEMENT_IS_SINK flag set. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.
|
Gst.Bin | |
iterate_sorted
()
:
Gst.Iterator
Gets an iterator for the elements in this bin in topologically sorted order.
Gets an iterator for the elements in this bin in topologically sorted order. This means that the elements are returned from the most downstream elements (sinks) to the sources. This function is used internally to perform the state changes of the bin elements and for clock selection. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.
|
Gst.Bin | |
iterate_sources
()
:
Gst.Iterator
Gets an iterator for all elements in the bin that have no sinkpads and have the GST_ELEMENT_IS_SINK flag unset.
Gets an iterator for all elements in the bin that have no sinkpads and have the GST_ELEMENT_IS_SINK flag unset. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.
|
Gst.Bin | |
iterate_src_pads
()
:
Gst.Iterator
Retrieves an iterator of element's source pads.
Retrieves an iterator of element's source pads. MT safe.
|
Gst.Element | |
Links src to dest.
Links src to dest. The link must be from source to destination; the other direction will not be tried. The function looks for existing pads that aren't linked yet. It will request new pads if necessary. Such pads need to be released manualy when unlinking. If multiple links are possible, only one is established. Make sure you have added your elements to a bin or pipeline with gst_bin_add() before trying to link them.
|
Gst.Element | |
Links src to dest using the given caps as filtercaps.
Links src to dest using the given caps as filtercaps. The link must be from source to destination; the other direction will not be tried. The function looks for existing pads that aren't linked yet. It will request new pads if necessary. If multiple links are possible, only one is established. Make sure you have added your elements to a bin or pipeline with gst_bin_add() before trying to link them.
|
Gst.Element | |
or NULL for any pad.
or NULL for any pad. Links the two named pads of the source and destination elements. Side effect is that if one of the pads has no parent, it becomes a child of the parent of the other element. If they have different parents, the link fails.
|
Gst.Element | |
Links the two named pads of the source and destination elements.
Links the two named pads of the source and destination elements. Side effect is that if one of the pads has no parent, it becomes a child of the parent of the other element. If they have different parents, the link fails. If caps is not NULL, makes sure that the caps of the link is a subset of caps.
|
Gst.Element | |
lost_state
()
:
none
Brings the element to the lost state.
Brings the element to the lost state. This function calls gst_element_lost_state_full() with the new_base_time set to TRUE. This function is used internally and should normally not be called from plugins or applications. MT safe.
|
Gst.Element | |
lost_state_full
(Boolean new_base_time)
:
none
Brings the element to the lost state.
Brings the element to the lost state. The current state of the element is copied to the pending state so that any call to gst_element_get_state() will return GST_STATE_CHANGE_ASYNC. An ASYNC_START message is posted with indication to distribute a new base_time to the element when new_base_time is TRUE. If the element was PLAYING, it will go to PAUSED. The element will be restored to its PLAYING state by the parent pipeline when it prerolls again. This is mostly used for elements that lost their preroll buffer in the GST_STATE_PAUSED or GST_STATE_PLAYING state after a flush, they will go to their pending state again when a new preroll buffer is queued. This function can only be called when the element is currently not in error or an async state change. This function is used internally and should normally not be called from plugins or applications. MT safe.
|
Gst.Element | |
message_full
(MessageType type, Number domain, Number code, String text, String debug, String file, String function, Number line)
:
none
Post an error, warning or info message on the bus from inside an element.
Post an error, warning or info message on the bus from inside an element. GST_MESSAGE_INFO. MT safe.
|
Gst.Element | |
no_more_pads
()
:
none
Use this function to signal that the element does not expect any more pads to show up in the current pipeline.
Use this function to signal that the element does not expect any more pads to show up in the current pipeline. This function should be called whenever pads have been added by the element itself. Elements with GST_PAD_SOMETIMES pad templates use this in combination with autopluggers to figure out that the element is done initializing its pads. This function emits the GstElement::no-more-pads signal. MT safe.
|
Gst.Element | |
Post a message on the element's GstBus.
Post a message on the element's GstBus. This function takes ownership of the message; if you want to access the message after this call, you should add an additional reference before calling. FALSE if the element did not have a bus. MT safe.
|
Gst.Element | |
provide_clock
()
:
Gst.Clock
Get the clock provided by the given element.
Get the clock provided by the given element.
|
Gst.Element | |
provides_clock
()
:
Boolean
Query if the element provides a clock.
Query if the element provides a clock. A GstClock provided by an element can be used as the global GstClock for the pipeline. An element that can provide a clock is only required to do so in the PAUSED state, this means when it is fully negotiated and has allocated the resources to operate the clock. MT safe.
|
Gst.Element | |
Performs a query on the given element.
|
Gst.Element | |
Queries an element to convert src_val in src_format to dest_format.
Queries an element to convert src_val in src_format to dest_format.
|
Gst.Element | |
Queries an element for the total stream duration.
Queries an element for the total stream duration.
|
Gst.Element | |
Queries an element for the stream position.
Queries an element for the stream position.
|
Gst.Element | |
recalculate_latency
()
:
Boolean
Query bin for the current latency using and reconfigures this latency to all the elements with a LATENCY event.
Query bin for the current latency using and reconfigures this latency to all the elements with a LATENCY event. This method is typically called on the pipeline when a GST_MESSAGE_LATENCY is posted on the bus. This function simply emits the 'do-latency' signal so any custom latency calculations will be performed.
|
Gst.Bin | |
release_request_pad
(Pad pad)
:
none
Makes the element free the previously requested pad as obtained with gst_element_get_request_pad().
Makes the element free the previously requested pad as obtained with gst_element_get_request_pad(). This does not unref the pad. If the pad was created by using gst_element_get_request_pad(), gst_element_release_request_pad() needs to be followed by gst_object_unref() to free the pad. MT safe.
|
Gst.Element | |
Removes the element from the bin, unparenting it as well.
Removes the element from the bin, unparenting it as well. Unparenting the element means that the element will be dereferenced, so if the bin holds the only reference to the element, the element will be freed in the process of removing it from the bin. If you want the element to still exist after removing, you need to call gst_object_ref() before removing it from the bin. If the element's pads are linked to other pads, the pads will be unlinked before the element is removed from the bin. MT safe. the bin does not want to remove the element.
|
Gst.Bin | |
Removes pad from element.
Removes pad from element. pad will be destroyed if it has not been referenced elsewhere using gst_object_unparent(). This function is used by plugin developers and should not be used by applications. Pads that were dynamically requested from elements with gst_element_get_request_pad() should be released with the gst_element_release_request_pad() function instead. Pads are not automatically deactivated so elements should perform the needed steps to deactivate the pad in case this pad is removed in the PAUSED or PLAYING state. See gst_pad_set_active() for more information about deactivating pads. The pad and the element should be unlocked when calling this function. This function will emit the GstElement::pad-removed signal on the element. pad does not belong to the provided element. MT safe.
|
Gst.Element | |
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 | |
requires_clock
()
:
Boolean
Query if the element requires a clock.
Query if the element requires a clock. MT safe.
|
Gst.Element | |
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 | |
seek
(Number rate, Format format, SeekFlags flags, SeekType cur_type, Number cur, SeekType stop_type, Number stop)
:
Boolean
Sends a seek event to an element.
Sends a seek event to an element. See gst_event_new_seek() for the details of the parameters. The seek event is sent to the element using gst_element_send_event(). MT safe.
|
Gst.Element | |
|
Gst.Element | |
Sends an event to an element.
Sends an event to an element. If the element doesn't implement an event handler, the event will be pushed on a random linked sink pad for upstream events or a random linked source pad for downstream events. This function takes owership of the provided event so you should gst_event_ref() it if you want to reuse the event after this call. MT safe.
|
Gst.Element | |
set_base_time
(Number time)
:
none
Set the base time of an element.
Set the base time of an element. See gst_element_get_base_time(). MT safe.
|
Gst.Element | |
set_bus
(Bus bus)
:
none
Sets the bus of the element.
Sets the bus of the element. Increases the refcount on the bus. For internal use only, unless you're testing elements. MT safe.
|
Gst.Element | |
Sets the clock for the element.
|
Gst.Element | |
set_index
(Index index)
:
none
Set index on the element.
Set index on the element. The refcount of the index will be increased, any previously set index is unreffed. MT safe.
|
Gst.Element | |
Locks the state of an element, so state changes of the parent don't affect this element anymore.
|
Gst.Element | |
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 | |
set_start_time
(Number time)
:
none
Set the start time of an element.
Set the start time of an element. The start time of the element is the running time of the element when it last went to the PAUSED state. In READY or after a flushing seek, it is set to 0. Toplevel elements like GstPipeline will manage the start_time and base_time on its children. Setting the start_time to GST_CLOCK_TIME_NONE on such a toplevel element will disable the distribution of the base_time to the children and can be useful if the application manages the base_time itself, for example if you want to synchronize capture from multiple pipelines, and you can also ensure that the pipelines have the same clock. MT safe.
|
Gst.Element | |
set_state
(State state)
:
Gst.StateChangeReturn
Sets the state of the element.
Sets the state of the element. This function will try to set the requested state by going through all the intermediary states and calling the class's state change function for each. This function can return GST_STATE_CHANGE_ASYNC, in which case the element will perform the remainder of the state change asynchronously in another thread. An application can use gst_element_get_state() to wait for the completion of the state change or it can wait for a state change message on the bus. State changes to GST_STATE_READY or GST_STATE_NULL never return GST_STATE_CHANGE_ASYNC. MT safe.
|
Gst.Element | |
sync_state_with_parent
()
:
Boolean
Tries to change the state of the element to the same as its parent.
Tries to change the state of the element to the same as its parent. If this function returns FALSE, the state of element is undefined. MT safe.
|
Gst.Element | |
unlink
(Element dest)
:
none
Unlinks all source pads of the source element with all sink pads of the sink element to which they are linked.
Unlinks all source pads of the source element with all sink pads of the sink element to which they are linked. If the link has been made using gst_element_link(), it could have created an requestpad, which has to be released using gst_element_release_request_pad().
|
Gst.Element | |
Unlinks the two named pads of the source and destination elements.
Unlinks the two named pads of the source and destination elements.
|
Gst.Element | |
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 | |
---|---|---|
child_added (ChildProxy self, Object object)
:
none
|
Gst.ChildProxy | |
child_removed (ChildProxy self, Object object)
:
none
|
Gst.ChildProxy | |
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 | |
Will be emitted when the bin needs to perform latency calculations.
Will be emitted when the bin needs to perform latency calculations. This signal is only emited for toplevel bins or when async-handling is enabled. Only one signal handler is invoked. If no signals are connected, the default handler is invoked, which will query and distribute the lowest possible latency to all sinks. Connect to this signal if the default latency calculations are not sufficient, like when you need different latencies for different sinks in the same pipeline.
|
Gst.Bin | |
Will be emitted after the element was added to the bin.
Will be emitted after the element was added to the bin.
|
Gst.Bin | |
Will be emitted after the element was removed from the bin.
Will be emitted after the element was removed from the bin.
|
Gst.Bin | |
no_more_pads (Element self)
:
none
This signals that the element will not generate more dynamic pads.
This signals that the element will not generate more dynamic pads.
|
Gst.Element | |
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 | |
a new GstPad has been added to the element.
a new GstPad has been added to the element.
|
Gst.Element | |
a GstPad has been removed from the element
a GstPad has been removed from the element
|
Gst.Element | |
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 |