gstvalue: quicker test for substraction emptiness
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 27 Oct 2011 09:35:53 +0000 (10:35 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 7 Nov 2011 15:16:52 +0000 (15:16 +0000)
commit29c97fe780f3827282f4b677db61950ee19299a6
treeedf1eb6f875282b432a73649256e72a4f12c46e2
parent7090257a83a427d7a796c9e4709f7450fd3bfbc2
gstvalue: quicker test for substraction emptiness

When we do not care about the actual resulting set,
but only whether it is empty of not, we can skip a fair bit
of GValue juggling.

Add a function that does so, since we cannot just pass NULL
to the existing API as it may be part of the API contract.

https://bugzilla.gnome.org/show_bug.cgi?id=662777
gst/gststructure.c
gst/gstvalue.c