Caps.intersect

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

class Caps
intersect

Parameters

caps2 gst.caps.Caps

a #GstCaps to intersect

Return Value

Type: gst.caps.Caps

the new #GstCaps