queuearray: Add set_clear_func and clear functions
authorVivia Nikolaidou <vivia@ahiru.eu>
Thu, 27 Sep 2018 14:30:25 +0000 (17:30 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Thu, 27 Sep 2018 16:32:54 +0000 (19:32 +0300)
commit22d0f407168d1c64621218b29f481f0346b4f59c
tree35819fcfe4401a84e57d140686754bfb6c1b12ea
parent62d7eaf3aa631bc3902f8a105ace155011c3b4c2
queuearray: Add set_clear_func and clear functions

gst_queue_array_clear will clear the GstQueueArray,
gst_queue_array_set_clear_func will set a clear function for each
element to be called on _clear and on _free.

https://bugzilla.gnome.org/show_bug.cgi?id=797218
docs/libs/gstreamer-libs-sections.txt
libs/gst/base/gstqueuearray.c
libs/gst/base/gstqueuearray.h