[Bug 733187] integrating the tracer branch
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Oct 2 15:58:04 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=733187
GStreamer | gstreamer (core) | 1.x
--- Comment #8 from Thibault Saunier <tsaunier at gnome.org> 2014-10-02 22:57:58 UTC ---
(In reply to comment #6)
> The current code got rid of the var_args. The API also looks like it is
> introspectable, but unfortunately would not work. I am using GCallback to store
> callback, but then cast the callback to the right pointer in the trace probe.
> GI marshal everything to GCallback though.
>
> What we can do is to add a gst_tracing_register_hook_structure () and make it
> so that the dispatch code only creates a GstStructure if there are callbacks
> that need one. In python picking the args out of the structure is easy, e.g.
> args["pad"].
That new API looks good now, and it is most probably as lightweight as the old
one.
I can imagine people wanting to implement tracer in other language than C, but
right it is not high priority for now I would say.
--
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