query: add gst_clear_query()
authorNiels De Graef <nielsdegraef@gmail.com>
Sun, 4 Nov 2018 17:55:16 +0000 (18:55 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 5 Nov 2018 11:06:30 +0000 (11:06 +0000)
commitbb07550c2dc9a62dfaa58701d085f9ff7658d75f
tree942b937f070e73ffea05d592614772b452709a12
parent24f1fb252aeb0c725bc709191d061069d00b96b1
query: add gst_clear_query()

Basically, you can use this instead of using gst_query_unref (which
needs to be preceded by a NULL-check).

Also fixes #275
gst/gstquery.h