GstCollectPadsClipFunction

A function that will be called when @inbuffer is received on the pad managed by @data in the collectpad object @pads.

The function should use the segment of @data and the negotiated media type on the pad to perform clipping of @inbuffer.

This function takes ownership of @inbuffer and should output a buffer in @outbuffer or return %NULL in @outbuffer if the buffer should be dropped.

alias GstCollectPadsClipFunction = GstFlowReturn function(GstCollectPads* pads, GstCollectData* data, GstBuffer* inbuffer, GstBuffer** outbuffer, void* userData)

Return Value

a #GstFlowReturn that corresponds to the result of clipping.

Meta