[Bug 747959] buffer: minimize memory copy in _memory_add()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 14 04:08:46 PDT 2015


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

--- Comment #13 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Without a compelling use case for this I'm tempted to say this is not something
that actually requires fixing in GstBuffer. If the number of memories
overflows, something should probably be done differently somewhere higher
level. Perhaps you could make a patch to remove the FIXME/TODO instead? :)

Only use case that comes to mind is e.g. an RTP depayloader where the output
buffer is made up of a large number of input payloads (and no parsing/copying
is needed). I believe GstAdapter would handle the final memory merging/packing
in this case though.

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