DataQueue.push

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() and gst_pad_push_event(): this function only takes ownership of @item and the #GstMiniObject contained in @item if the push was successful. If %FALSE is returned, the caller is responsible for freeing @item and its contents.

class DataQueue
bool
push
(
GstDataQueueItem* item
)

Parameters

item GstDataQueueItem*

a #GstDataQueueItem.

Return Value

Type: bool

%TRUE if the @item was successfully pushed on the @queue.

Meta