[Bug 706083] v4l2src: UVC Allocated buffers wrapped in GstBuffer get orphaned by GstBuffer API
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 19 13:05:32 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=706083
GStreamer | gst-plugins-good | git
--- Comment #26 from Robert Krakora <rob.krakora at messagenetsystems.com> 2013-09-19 20:05:22 UTC ---
>> @@ +794,3 @@
>> + meta->mem, vbuffer.bytesused, 0, vbuffer.bytesused, NULL,
>> + NULL));
>> + /* with vbuffer.bytesused as the size and replace the */
>>
>> Huh? gst_buffer_resize() is the problem. It can replace the wrapped memory
>> object referenced by the GstBuffer with a new one that meets the new size
>> constraint and then the previously wrapped memory object, which wraps a v4l2
>> buffer, is "lost in space".
>
>In this case, it will only shrink the buffer, so that should never happen.
With all do respect, gst_buffer_resize() does replace the memory object. I
have followed the code path and put a ton of debug print statements in the
code. Without this change, there is no point in going through with a patch for
this bug.
--
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