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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 17 04:58:35 PDT 2015


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

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 301775:
 --> (https://bugzilla.gnome.org/review?bug=747959&attachment=301775)

::: gst/gstbuffer.c
@@ +151,3 @@
   guint len;
+  GstMemory **mem;
+  guint max_len;

Also I really meant a GPtrArray (that is allocated for >16 memories) so that
you don't have to do the bookkeeping and reallocations yourself :)

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