[Bug 760267] tracer: how to pass and structure tracing data (GstStructure, GVariant, etc.)
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Jan 16 11:09:59 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=760267
--- Comment #18 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Meh, absolute show-stopper :/
When serializing a structure, the fields are serialized using
gst_value_serialize() and this escaped substrings using gst_string_wrap(). It I
build the format string and rely on GST_PTR_FORMAT for e.g. nested structures,
this is not the case :/
We log the structures contained in messages/queries.
My first thought was to fixup the string from the tracer (call
gst_structure_to_string() there), but that won't work - we would need to make
the escaping code public and the gtype would then be string and not structure
:/
Maybe I can iterate the var_vars in the log handler and handle this there. Any
better ideas? That comes from optimizing code that works :/
--
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