FrameHandlerSink::setMemBufferCollection Method

Sets a MemBufferCollection for this FrameHandlerSink.
Syntax:
bool setMemBufferCollection( const smart_ptr<MemBufferCollection>& pCol );
Parameter Description
pCol

The new MemBufferCollection, or 0 to remove the one that is currently set.

Return Value:

true, if the new MemBufferCollection was successfully set, otherwise false.

Remarks:

The frame type of the MemBufferCollection must match the output frame type of the registered IFrameFilter or the input type of the sink, if no transform handler is registered.

See also: FrameHandlerSink, MemBufferCollection

<< FrameHandlerSink