Pad.getCurrentCaps

gst.caps.Caps getCurrentCaps()

Gets the capabilities currently configured on pad with the last #GST_EVENT_CAPS event.

Returns

the current caps of the pad with

incremented ref-count or null when pad has no caps. Unref after usage.