buffer: don't over-allocate internal GstMeta items
authorTim-Philipp Müller <tim@centricular.com>
Wed, 25 Apr 2018 17:28:00 +0000 (18:28 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 25 Apr 2018 17:28:00 +0000 (18:28 +0100)
commit0691278377e79ba5463f6f66ae2878160909de47
tree8b240d0f868751afc94956ade5a35f375472a066
parentb00b1d536141b00fa196639630b0d43d72b9fb55
buffer: don't over-allocate internal GstMeta items

We would allocate space for two GstMeta structs even though
there is only one in the end (the one in GstMetaItem and in
GstFooMeta overlap).
gst/gstbuffer.c