[Bug 750039] Keeping buffers with shared memory alive

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 28 21:07:59 PDT 2015


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

--- Comment #5 from Jan Schmidt <thaytan at noraisin.net> ---
Ah yes - the problem with returning to the bufferpool in this case is that the
GstMemory is being appended directly to a 2nd buffer - it's not a sub-region
via gst_memory_share() that would make the region unwritable. That should be
allowed, because the element has received a writable buffer (it's the only
owner), and the memory is writable.

If the memory was shared using gst_memory_share(), it would be marked read-only
and discarded by the buffer pool as expected.

-- 
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