bufferlist: add gst_clear_buffer_list()
authorNiels De Graef <nielsdegraef@gmail.com>
Sun, 4 Nov 2018 17:52:50 +0000 (18:52 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 5 Nov 2018 11:06:30 +0000 (11:06 +0000)
commitfa1d7a86aff0af42f4887fe1cd79689a1db942a1
tree91754e0f6d719197a47c77ceee97b2785a568fd9
parent1068d9e2c823041d3f75d5a99006e8ef51aec0ae
bufferlist: add gst_clear_buffer_list()

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

Also fixes #275
gst/gstbufferlist.h