Pad.setSetcapsFunction

Sets the given setcaps function for the pad. The setcaps function will be called whenever a buffer with a new media type is pushed or pulled from the pad. The pad/element needs to update its internal structures to process the new media type. If this new type is not acceptable, the setcaps function should return FALSE.

class Pad
void
setSetcapsFunction

Parameters

setcaps GstPadSetCapsFunction

the GstPadSetCapsFunction to set.

Meta