Pad.setAcceptcapsFunction

Sets the given acceptcaps function for the pad. The acceptcaps function will be called to check if the pad can accept the given caps. Setting the acceptcaps function to NULL restores the default behaviour of allowing any caps that matches the caps from gst_pad_get_caps.

class Pad
void
setAcceptcapsFunction

Parameters

acceptcaps GstPadAcceptCapsFunction

the GstPadAcceptCapsFunction to set.

Meta