value: add structure intersect/union/is_subset/fixate implementations
authorMatthew Waters <matthew@centricular.com>
Thu, 8 Dec 2016 10:01:52 +0000 (21:01 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 15 Dec 2016 02:39:57 +0000 (13:39 +1100)
commitad40c5cd365eceadff867ab489a85ef7f2ed6c05
tree693e08b0ea9888c15b599982be45ab779ef2ed35
parent865247d32ae8a2faa8a544d69b1af6225181dc6d
value: add structure intersect/union/is_subset/fixate implementations

Allows proper usage of structures in structures in caps.  Subtraction
is not implemented due to complications with empty fields representing
all possible values.

The only implementation that doesn't delegate to the already existing
GstStructure functions is the union function.

https://bugzilla.gnome.org/show_bug.cgi?id=775796
gst/gstvalue.c
tests/check/gst/gstvalue.c