Pad.useFixedCaps

A helper function you can use that sets the gst_pad_get_fixed_caps_func as the getcaps function for the pad. This way the function will always return the negotiated caps or in case the pad is not negotiated, the padtemplate caps. Use this function on a pad that, once _set_caps() has been called on it, cannot be renegotiated to something else.

class Pad
void
useFixedCaps
()

Meta