[Bug 744303] bufferpool: Don't free GstBuffer if memory isn't writable

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Feb 15 19:03:11 PST 2015


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

Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
An idea (if it does not clash with something else) could be to use
GstMiniObject parenting in order to create a link between buffers if we have
GST_BUFFER_COPY_MEMORY flag (not GST_BUFFER_COPY_DEEP, which do a real copy,
removing the bound between buffers).

This would be similar to gst_memory_share() at the GstMemory level. Same would
apply to gst_buffer_copy() and gst_buffer_copy_region().

Any comment ?

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