taglist: add gst_clear_tag_list()
authorNiels De Graef <nielsdegraef@gmail.com>
Sun, 4 Nov 2018 17:55:42 +0000 (18:55 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 5 Nov 2018 11:06:30 +0000 (11:06 +0000)
commitfdeddb4b934c5d42399528bbc68c1cea1d2645c9
tree8b64c848b0fdfcd2a03702cf0f1b372eef713ed6
parentbb07550c2dc9a62dfaa58701d085f9ff7658d75f
taglist: add gst_clear_tag_list()

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

Also fixes #275
gst/gsttaglist.h