[Bug 760267] tracer: how to pass and structure tracing data (GstStructure, GVariant, etc.)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 8 01:32:18 PST 2016


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

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Question is how essential things like these are. One could always serialise
enums as ints and declare the enum type elsewhere alongside the field name.
Fractions could also just be sent as two ints, none of the existing tracers
uses fractions as far as I can tell, and I suspect fractions would mostly be
sent as part of caps, which would be serialised in form of the caps string
anyway.

We could also just make up our own thing that works similar to GVariant (i.e.
with a format string) but a simplified version of it that uses GTypes, but only
those we explicitly want to support. If we make our own version we could also
require fieldnames again, but those seem like an awful lot of overhead to send
over the wire in the log everytime (maybe we should send a cumulatively built
quark table over the wire too ;))

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