Pad.getAllowedCaps

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 gst_pad_query_caps() on @pad and its peer. The caller owns a reference on the resulting caps.

class Pad
getAllowedCaps
()

Return Value

Type: Caps

the allowed #GstCaps of the pad link. Unref the caps when you no longer need it. This function returns %NULL when @pad has no peer.

MT safe.

Meta