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 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
pushForce
(
GstDataQueueItem* item
)

Parameters

item GstDataQueueItem*

a #GstDataQueueItem.

Return Value

Type: bool

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

Meta