Pad.peerQueryCaps

Gets the capabilities of the peer connected to this pad. Similar to gst_pad_query_caps(). When called on srcpads filter contains the caps that upstream could produce in the order preferred by upstream. When called on sinkpads filter contains the caps accepted by downstream in the preffered order. filter might be NULL but if it is not NULL the returned caps will be a subset of filter.

class Pad
peerQueryCaps

Parameters

filter Caps

a GstCaps filter, or NULL. [allow-none]

Return Value

Type: Caps

the caps of the peer pad with incremented ref-count. When there is no peer pad, this function returns filter or, when filter is NULL, ANY caps.

Meta