DataQueue.pushForce

Pushes a GstDataQueueItem (or a structure that begins with the same fields) on the queue. It ignores if the queue is full or not and forces the item to be pushed anyway. 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
pushForce

Parameters

item GstDataQueueItem*

Return Value

Type: bool

TRUE if the item was successfully pushed on the queue.

Meta