queue2: use GstQueueArray
authorDimitrios Katsaros <patcherwork@gmail.com>
Sat, 2 Jun 2018 12:02:19 +0000 (14:02 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 4 Jun 2018 10:10:05 +0000 (11:10 +0100)
commitac7f8b633720d1ec4c4c7fdfddf04a90d8db8841
tree3c058235d734cd6b031cc2aab6e2ab0ba72a2418
parent51b97d74038e438b8e1ca8b23f02aff09215ecd1
queue2: use GstQueueArray

When using queue2 as a queue it was using GQueue with
individually allocated queue items, so two allocs for
each item. With GstQueueArray we can avoid those.

https://bugzilla.gnome.org/show_bug.cgi?id=796483
plugins/elements/gstqueue2.c
plugins/elements/gstqueue2.h