CollectPadsClipFunction


Description:

[ CCode ( cname = "GstCollectPadsClipFunction" , instance_pos = 4.9 ) ]
public delegate FlowReturn CollectPadsClipFunction (CollectPads pads, CollectData data, owned Buffer inbuffer, out Buffer outbuffer)

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.

Parameters:

pads

a CollectPads

data

a CollectData

inbuffer

the input Buffer

outbuffer

the output Buffer

user_data

user data

Returns:

a FlowReturn that corresponds to the result of clipping.


Namespace: Gst.Base