[Bug 729123] GstSdp.SDPMessage.parse_buffer needs a guint8* + annotation corrections
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Apr 29 00:46:04 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=729123
GStreamer | gst-python | 1.2.4
--- Comment #3 from Adrien Aubourg <adrien.aubourg at gmail.com> 2014-04-29 07:46:00 UTC ---
This is what is returned from introspection by ipython:
----
GstSdp.SDPMessage.parse_buffer?
Type: FunctionInfo
String Form:gi.FunctionInfo(parse_buffer)
File: /usr/lib/python3/dist-packages/gi/__init__.py
Docstring: parse_buffer(data:int, size:int, msg:GstSdp.SDPMessage)
----
As you can see, there is no way to call GstSdp.SDPMessage.parse_buffer(buffer,
msg) as you proposed, even by allocating a SdpMessage before. I can't see any
workaround here.
I acknowledge that the whole SDP library should have its gobject-introspection
annotations updated, I had the same conclusion. Especially, some functions like
new() shouldn't be used at all, and shouldn't be seen by the
gobject-introspection. The bug is more general that just the parse_buffer
function.
I don't know how to update the introspection annotations yet. I'll try to
submit patches in a couple of weeks. As mentionned, I believe that many people
would use SDPMessage once a webrtc plugin is in the gstreamer tree.
--
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