ref-count. When there is no peer pad, this function returns filter or, when filter is null, ANY caps.
Pad.peerQueryCaps
gst.caps.Caps peerQueryCaps(gst.caps.Caps filter = null)Gets the capabilities of the peer connected to this pad. Similar to [gst.pad.Pad.queryCaps].
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 preferred order. filter might be null but if it is not null the returned caps will be a subset of filter.
Parameters
filter | a #GstCaps filter, or null. |
Returns
the caps of the peer pad with incremented