[Bug 796692] bufferlist: gst_buffer_list_get() can give a writable reference to multiple threads at the same time

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 28 12:27:47 UTC 2018


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

Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at ndufresne.ca

--- Comment #10 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
I think the only way things can works is with the following:
  - A buffer is writable if all memory are writable
  - A buffer list is writable if all GstBuffer is writable

Merging/Replacing/Adding/Removing memory is unsafe it's not the case. Buffers
and BufferLists must have a way to stay immutable, otherwise you also break the
ability to use tee element.

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