CollectPads.setBufferFunction

Set the callback function and user data that will be called with the oldest buffer when all pads have been collected, or NULL on EOS. If a buffer is passed, the callback owns a reference and must unref it.

MT safe.

class CollectPads
void
setBufferFunction

Parameters

func GstCollectPadsBufferFunction

the function to set

userData void*

user data passed to the function