Pad.getNegotiatedCaps

Gets the capabilities of the media type that currently flows through pad and its peer. This function can be used on both src and sinkpads. Note that srcpads are always negotiated before sinkpads so it is possible that the negotiated caps on the srcpad do not match the negotiated caps of the peer.

class Pad
getNegotiatedCaps
()

Return Value

Type: Caps

the negotiated GstCaps of the pad link. Unref the caps when you no longer need it. This function returns NULL when the pad has no peer or is not negotiated yet. MT safe.

Meta