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 Pad.push and Pad.pushEvent: this function only takes ownership of item and the gstreamer.MiniObject 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

Parameters

item GstDataQueueItem*

Return Value

Type: bool

TRUE if the item was successfully pushed on the queue.

Meta