GObject.Object
GstBase.DataQueue
Import line: | GstBase = imports.gi.GstBase; |
GIR File: | GstBase-0.10.gir |
C documentation: | GstDataQueue |
Class : | DataQueue |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : Array
read only
|
GstBase.DataQueue | |
checkdata : void*
read only
|
GstBase.DataQueue | |
checkfull : [object Object]
read only
|
GstBase.DataQueue | |
cur_level : GstBase.DataQueueSize
read only
|
GstBase.DataQueue | |
current_level_bytes : Number
read only
|
GstBase.DataQueue | |
current_level_time : Number
read only
|
GstBase.DataQueue | |
current_level_visible : Number
read only
|
GstBase.DataQueue | |
emptycallback : [object Object]
read only
|
GstBase.DataQueue | |
flushing : Boolean
read only
|
GstBase.DataQueue | |
fullcallback : [object Object]
read only
|
GstBase.DataQueue | |
item_add : GLib.Cond
read only
|
GstBase.DataQueue | |
item_del : GLib.Cond
read only
|
GstBase.DataQueue | |
object : GObject.Object
read only
|
GstBase.DataQueue | |
qlock : GLib.Mutex
read only
|
GstBase.DataQueue | |
queue : GLib.Queue
read only
|
GstBase.DataQueue |
Method / Constructor | Defined By | |
---|---|---|
new GstBase.DataQueue
(Object properties)
Create a new GstBase.DataQueue
Create a new GstBase.DataQueue
|
||
Create a new GstBase.DataQueue
Create a new GstBase.DataQueue
|
||
new GstBase.DataQueue.full
(Function checkfull, Function fullcallback, Function emptycallback, void* checkdata)
:
GstBase.DataQueue
Create a new GstBase.DataQueue
Create a new GstBase.DataQueue
|
||
GstBase.DataQueue | ||
flush
()
:
none
Flushes all the contents of the queue.
Flushes all the contents of the queue. Any call to gst_data_queue_push and gst_data_queue_pop will be released. MT safe.
|
GstBase.DataQueue | |
get_level
(DataQueueSize level)
:
none
Get the current level of the queue.
Get the current level of the queue.
|
GstBase.DataQueue | |
is_empty
()
:
Boolean
Queries if there are any items in the queue.
Queries if there are any items in the queue. MT safe.
|
GstBase.DataQueue | |
is_full
()
:
Boolean
Queries if queue is full.
Queries if queue is full. This check will be done using the GstDataQueueCheckFullFunction registered with queue. MT safe.
|
GstBase.DataQueue | |
limits_changed
()
:
none
Inform the queue that the limits for the fullness check have changed and that any blocking gst_data_queue_push() should be unblocked to recheck the limts.
Inform the queue that the limits for the fullness check have changed and that any blocking gst_data_queue_push() should be unblocked to recheck the limts.
|
GstBase.DataQueue | |
pop
(DataQueueItem item)
:
Boolean
Retrieves the first item available on the queue.
Retrieves the first item available on the queue. If the queue is currently empty, the call will block until at least one item is available, OR the MT safe.
|
GstBase.DataQueue | |
push
(DataQueueItem item)
:
Boolean
Pushes a GstDataQueueItem (or a structure that begins with the same fields) on the queue.
Pushes a GstDataQueueItem (or a structure that begins with the same fields) on the queue. If the queue is full, the call will block until space is available, OR the queue is set to flushing state. MT safe. Note that this function has slightly different semantics than gst_pad_push() the GstMiniObject contained in item if the push was successful. If FALSE is returned, the caller is responsible for freeing item and its contents.
|
GstBase.DataQueue | |
set_flushing
(Boolean flushing)
:
none
Sets the queue to flushing state if flushing is TRUE.
Sets the queue to flushing state if flushing is TRUE. If set to flushing state, any incoming data on the queue will be discarded. Any call currently blocking on gst_data_queue_push or gst_data_queue_pop will return straight away with a return value of FALSE. While the queue is in flushing state, all calls to those two functions will return FALSE. MT Safe.
|
GstBase.DataQueue |
Event | Defined By | |
---|---|---|
empty (DataQueue self)
:
none
Reports that the queue became empty (empty).
Reports that the queue became empty (empty). A queue is empty if the total amount of visible items inside it (num-visible, time, size) is lower than the boundary values which can be set through the GObject properties.
|
GstBase.DataQueue | |
full (DataQueue self)
:
none
Reports that the queue became full (full).
Reports that the queue became full (full). A queue is full if the total amount of data inside it (num-visible, time, size) is higher than the boundary values which can be set through the GObject properties.
|
GstBase.DataQueue |