[Bug 796499] New: Changing the returned data from the buffer so that it can be modified an read without copying
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jun 5 12:20:30 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796499
Bug ID: 796499
Summary: Changing the returned data from the buffer so that it
can be modified an read without copying
Classification: Platform
Product: GStreamer
Version: 1.4.1
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-python
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: d.klamt at pengutronix.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The map function of the buffer element has returned a copy of the c buffer as
an bytes object as MapInfo.data. This is bad when you want to edit the video
buffer in an gst-python element because teh bytes element always copies the
Data.
Therefor i changed the Buffer functions map and unmap and the class MapInfo to
return the data as an memory-view on the c buffer
The MapInfo class has the same attributes as before and should be compatible
--
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