[Bug 682770] v4l2src breaks after renegotiation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 29 08:47:50 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=682770
  GStreamer | gst-plugins-good | git

--- Comment #1 from Alban Browaeys <prahal at yahoo.com> 2012-08-29 15:47:47 UTC ---
Created an attachment (id=222797)
 View: https://bugzilla.gnome.org/attachment.cgi?id=222797
 Review: https://bugzilla.gnome.org/review?bug=682770&attachment=222797

call stop on the buffer pool to trigger a v4l2_munmap before the new v4l2_mmap

this is rfc .. calling stop fix the device or resource busy ... 
but raised another issue (the stop calls gst_v4l2_buffer_pool_free_buffer on
buffers[i] but buffers[i] can have been made NULL in gst_v4l2_buffer_pool_dqbuf
as to "mark the buffer outstanding" 
thus I made a quick hack ... ie I used a new buffers_hack[] which is never
marked as outstanding which hold the same GstV4l2Meta(s) as buffers[]

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