[Bug 699517] uvch264src: v4l2src delivered buffer from C920 camera to uvch264src corrupt?

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 16 04:47:04 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=699517
  GStreamer | gst-plugins-bad | 1.1.3

--- Comment #36 from Robert Krakora <rob.krakora at messagenetsystems.com> 2013-08-16 11:46:59 UTC ---
The meta was already being used in the qbuf function, that is why I used it to
recover the v4l2 allocated buffer and replace what memory to which the
GstBuffer current referenced.  It sure does seem like GstBuffer and GstMemory
need the capability of supporting kernel allocated user spaced mapped memory
without the possibility of replacement.  Replacement means more latency and CPU
usage in the pipeline because memory is allocated and then copied.  GstBuffer
needs notion of whether it contains wrapped GstMemory objects and if so, when
it is resized maybe have a bytesused member indicating how much useful data
exists in the expanse of wrapped GstMemory objects it contains regardless of
there overall size instead of replacing the GstMemory object.  GstBuffer should
then either contain *only* wrapped GstMemory objects or *only* non-wrapped
GstMemory objects and definitely not a mixture.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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