[Bug 613081] [API] add GST_LOG_CAPS etc.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 24 08:48:18 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=613081
  GStreamer | gstreamer (core) | git

Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensonic at sonicpulse.de

--- Comment #5 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-05-24 15:48:13 UTC ---
Can't we just have a *big* static array of *big* string buffers, a counter and
a couple of functions like GST_DEBUG_FORMAT_CAPS(caps). The function behind the
macro obtains the next array slot, inc the counter, format the parameter into
the string buffer and return the reference. The counter will wrapp around on
the number of slots. That is if we have 20 slots, we support log prints with up
to 20 formatted args. There might be more slots in use due to threads. Still we
should be able to get away with a large number of slots.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list