DataQueue.peek

Retrieves the first item available on the queue without removing it. 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
peek

Parameters

item GstDataQueueItem*

pointer to store the returned GstDataQueueItem

Return Value

Type: bool

TRUE if an item was successfully retrieved from the queue.

Meta