DataQueue.pop

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 queue is set to the flushing state. MT safe.

class DataQueue
bool
pop

Parameters

item GstDataQueueItem*

pointer to store the returned GstDataQueueItem

Return Value

Type: bool

TRUE if an item was successfully retrieved from the queue.

Meta