logging: when logging taglists, shorten long buffer dumps
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 8 Jun 2009 18:33:55 +0000 (19:33 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 10 Jun 2009 08:39:11 +0000 (09:39 +0100)
commita33de081b2b16db6725ced878a1282d556a4bf96
tree9c1c3a2d34c0b87fe4bca90b74a2fe2f8f8bbca8
parent5a77f1827834cf642281166c9bd7a447315c6a42
logging: when logging taglists, shorten long buffer dumps

Don't dump hundreds of kB of hexdata into debug logs when converting
taglists containing huge images into a string. Instead, shorten the
buffer data so that the string is still readable and debug logs
stay managable. Can be turned off with GST_DEBUG_OPTIONS=full-tags.
See #584988.
gst/gstinfo.c