caps: Fix subset check for equivalent lists and scalar values
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 30 May 2011 05:36:58 +0000 (07:36 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 30 May 2011 05:38:40 +0000 (07:38 +0200)
commitf304196148f4f084120299770e4c5b4cf5c6e8e2
tree4434b68ef02350c42935819306c2f651e5c6e56f
parent5442bdf31162e34f6fd0bb5e7d8b8c37c49b09d8
caps: Fix subset check for equivalent lists and scalar values

For example "{ 1 }" and "1" are not strictly equal but
both are a subset of each other. Also add a unit test
for this.
gst/gststructure.c
tests/check/gst/gstcaps.c