structure: simplify is_subset check
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Apr 2013 15:59:10 +0000 (17:59 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Apr 2013 15:59:10 +0000 (17:59 +0200)
commit6c621460313ae440fe12eab436a55d9487b01393
tree068c167c25c59cf0fa52bb6b774d5f0450da1615
parentd92ce924e6d59dae70a4cbb62f487b71790fe6db
structure: simplify is_subset check

Iterate over the fields of the superset instead of those of the subset.
This way we can check the presence of the subset field and do the subset check
in one iteration.
gst/gststructure.c