peer_query_caps
Description:
Gets the capabilities of the peer connected to this pad.
Similar to 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 preferred order. filter might be
null but if it is not null the returned caps will be a subset of
filter.
Parameters:
| this |
a Pad to get the capabilities of. |
| filter |
a Caps filter, or null. |
Returns:
|
the caps of the peer pad with incremented ref-count. When there is no peer pad, this function returns |