Caps.intersect

gst.caps.Caps intersect(gst.caps.Caps caps2)

Creates a new #GstCaps that contains all the formats that are common to both caps1 and caps2. Defaults to gst.types.CapsIntersectMode.ZigZag mode.

Parameters

caps2a #GstCaps to intersect

Returns

the new #GstCaps