Gets the capabilities of the allowed media types that can flow through pad and its peer.

The allowed capabilities is calculated as the intersection of the results of calling Pad.queryCaps on pad and its peer. The caller owns a reference on the resulting caps.

class Pad

Return Value

Type: Caps

the allowed gstreamer.Caps of the pad link. Unref the caps when you no longer need it. This function returns NULL when pad has no peer.

MT safe.