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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 15 03:44:43 PDT 2013


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

Robert Krakora <rob.krakora> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #251546|0                           |1
        is obsolete|                            |
 Attachment #251547|0                           |1
        is obsolete|                            |

--- Comment #34 from Robert Krakora <rob.krakora at messagenetsystems.com> 2013-08-15 10:44:29 UTC ---
Created an attachment (id=251716)
 View: https://bugzilla.gnome.org/attachment.cgi?id=251716
 Review: https://bugzilla.gnome.org/review?bug=699517&attachment=251716

Patch for v4l2src to put back replaced buffer...

After many attempts at patching this problem, I believe that I have finally
found the patch that works.  It is a two line patch for the v4l2src plugin
which uses the v4l2 buffer structure stored in the GstBuffer's meta data to
replace the memory in the GstBuffer when it is queued.  This is done because
the v4l2 buffer memory initially wrapped in a GstMemory object and placed in
the GstBuffer may have been replaced implicitly by another GstMemory object
with different memory by the GstBuffer API (I have verified that this indeed
does happen).

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