[Bug 681152] New: [0.11] gst_buffer_make_writable also tries to make memory writable
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Aug 3 09:40:37 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=681152
GStreamer | gstreamer (core) | git
Summary: [0.11] gst_buffer_make_writable also tries to make
memory writable
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: rawoul at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
In my pipeline, some element tries to call gst_buffer_make_writable on a
_readonly_ framebuffer allocated by an upstream hardware element, just to
change a buffer flag.
Unfortunately the gst_buffer_make_writable also makes its memory writable, and
in this case triggers a full copy of the frame buffer. This is obviously
overkill just to change a buffer flag.
Is there any way this could be avoided, besides not marking the memory read
only ?
--
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