FrameQueueSink::allocAndQueueBuffers Method

This function creates a number of buffers and puts them into the input queue.
Syntax:
Error  allocAndQueueBuffers( size_t count );
Parameter Description
count

The number of buffers to allocate and enqueue.

Return Value:

An error value indicating whether the operation succeeded.

Remarks:

This function can only be called if the sink is connected by a successful call to Grabber::prepareLive or Grabber::startLive. Otherwise, the buffer format might still be unknown.

See also: FrameHandlerSink

<< FrameQueueSink