[gstreamer-bugs] [Bug 620460] info: add new REFCOUNT log level and move refcounting there from LOG level
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jun 3 15:41:47 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=620460
GStreamer | gstreamer (core) | git
--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-06-03 22:41:45 UTC ---
I think we all have our little hacks like these (I added something like that to
GstAllocTrace at some point, with _last_seen() tracepoints for buffers and
events). It's all really drifting a bit off-topic though.
I would like the refcount logging noise removed from *:5 by default. Removing
it entirely seems unnecessary, as sometimes that output is actually useful.
Modifying libgstreamer is not always an option (or too cumbersome), and
gdb/debuggers are often not fully functional on some platforms.
Displaying the object refcount in GST_DEBUG_OBJECT would be possible, but is
far less useful, since then you'd lack proper coverage, and it doesn't work
well for events and buffers and caps.
I still think my approach is a good compromise. It costs us nothing and solves
a real problem (noise).
Adding further ways to investigate memory leaks and/or refcount issues is
always cool, but I don't see the need to link these to this bug or what I
propose.
--
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