Creates a new GstCaps that contains all the formats that are in either caps1 and caps2.
a GstCaps to union
the new GstCaps
See Implementation
Creates a new GstCaps that contains all the formats that are in either caps1 and caps2.