[Bug 744093] [API] message: expose a details structure

bugzilla at gnome.org bugzilla at gnome.org
Tue Feb 10 08:36:03 PST 2015


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

--- Comment #5 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
As discussed on IRC, there are concerns over the exact API that we should
expose.

On one hand, Sebastian said he wasn't comfortable with exposing implementation
details such as GstStructure directly.

On the other hand, if we hide away the GstStructure, then it means we have to
expose a number of bindings-friendly methods, basically duplicating
GstStructure's API.

The other concern was that we might not want to make it generic, and only allow
setting and getting details on error messages.

My personal opinion is that we already expose the GstStructure of the message,
so exposing details as a GstStructure would be consistent with this.

Regarding genericity, as thiago said we can start with only error messages,
then if need be make the API generic.

I think we all agree that this would be a valuable addition, and it kind of
blocks my work to let souphttpsrc pass more information about failure codes
around, it would be great if we could go ahead and decide on something,
implementation itself shouldn't be much work.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-bugs/attachments/20150210/864dd0c5/attachment.html>


More information about the gstreamer-bugs mailing list