Pad.peerQueryAcceptCaps

bool peerQueryAcceptCaps(gst.caps.Caps caps)

Check if the peer of pad accepts caps. If pad has no peer, this function returns true.

Parameters

capsa #GstCaps to check on the pad

Returns

true if the peer of pad can accept the caps or pad has no peer.