[gstreamer-bugs] [Bug 572285] Buffer Array

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Feb 20 09:47:39 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=572285

  GStreamer | gstreamer (core) | Ver: git




------- Comment #7 from David Schleef  2009-02-20 17:47 UTC -------
I've been meaning to add disjoint buffers to GStreamer for years.  Thank you
for actually moving on the issue.

My plan was to split GstBuffer into 2 layers, the lower layer being a simple
wrapper of a contiguous memory region into a GstMiniObject, with reference
counting but no metadata.  The upper layer would contain the metadata and point
to one or more MemoryRegions to hold the data, including an offset and size to
specify a subregion of the MemoryRegion.

This rearrangement would subsume subbuffers and most buffer subclasses.  It
might even take over GstAdapter, since adapters are an attempt to get around
the disjoint buffer limitation.  It would allow buffers to share underlying
data while having different (writeable) metadata.

Obviously, all this requires an ABI change, so would be for 0.11 at least,
assuming someone does it.  I wouldn't be opposed to having something like this
in 0.10.

An actual comment on the patch:  Couldn't this be better solved by extending
(ahem, hacking to death) GstBuffer in a compatible way?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=572285.




More information about the Gstreamer-bugs mailing list