elements: improve buffer flags to string utility function
authorTim-Philipp Müller <tim@centricular.com>
Sat, 28 Jun 2014 16:58:26 +0000 (17:58 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 19 Jul 2014 17:56:53 +0000 (18:56 +0100)
commita2ca5007bd22d0561d8323395a9321f7f6be9051
tree7f492942c3c97d59573657cff0fac1956713efb9
parent34e111f84ffd49dbe87d9dc914fdd30ebfefd7d7
elements: improve buffer flags to string utility function

Avoid relocations and refactor so that we don't calculate
the fixed and known at compile time maximum string size
every time. Also skip the mini object flags which we are
not going to print anyway.
plugins/elements/gstelements_private.c