[Bug 773463] core(debug): hard to distinguish related log at multi-instance env

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 6 21:03:47 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773463

--- Comment #6 from Thibault Saunier <tsaunier at gnome.org> ---
Created attachment 341507
  --> https://bugzilla.gnome.org/attachment.cgi?id=341507&action=edit
info: Give more control to use about how to print objects

Currently using GST_DEBUG_OBJECT only the name of the object is printed,
but in environments where many pipelines are running concurrently it
quickly becomes hard to follow what element that refers to as several
elements/pads can have the same name in those pipeline.

This patch adds a new special 'GST_OBJECT_REPR' debugging category which
will allow GStreamer to print the object topelevel bin  name or a full
object path depending on that category level.

Basically setting `GST_DEBUG=GST_OBJECT_REPR:2` when debugging an
element called 'e1' inside a bin called 'b1' inside a pipeline called
'p1' will be printed as '/p1/b1/e1'. Setting that category to level 1 will
print '/p1/../e1'

-- 
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