[Bug 796499] Changing the returned data from the buffer so that it can be modified and read without copying
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Nov 2 13:26:13 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796499
--- Comment #6 from Daniel Klamt <d.klamt at pengutronix.de> ---
The issue is that the Gst.MapInfo returned by Gst.Buffer.map would have a
bytes() object as .data member, not a memoryview().
And the original pointer would get lost when the GstMemoryInfo c structure was
recreated from the python object to be passed to gst_buffer_unmap.
https://paste.debian.net/1049985/
This would be a dirty fix
https://pastebin.com/NmUw1F3A
--
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