[ CCode ( cname = "GstCollectPadsBufferFunction" , instance_pos = 3.9 ) ]
public delegate FlowReturn CollectPadsBufferFunction (CollectPads pads, CollectData data, owned Buffer buffer)
A function that will be called when a (considered oldest) buffer can be muxed.
If all pads have reached EOS, this function is called with null
buffer
and null
data
.
pads |
the CollectPads that triggered the callback |
data |
the CollectData of pad that has received the buffer |
buffer |
the Buffer |
user_data |
user data passed to set_buffer_function |
OK for success |