[Bug 731015] v4l2src: deadlock on shutdown

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 30 16:46:28 PDT 2014


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

--- Comment #5 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-05-30 23:46:22 UTC ---
Created an attachment (id=277590)
 View: https://bugzilla.gnome.org/attachment.cgi?id=277590
 Review: https://bugzilla.gnome.org/review?bug=731015&attachment=277590

[PATCH] v4l2bufferpool: Keep the GstPollFD around and check errors


Thsi is not yet fully correct yet, as we simply retry on error, which can
spin, until the driver has recovered. The pool will be in error if the signal
is lost, or if there is not enough buffers. I see EINVAL in errno for the later
but haven't find anything int he V4L2 spec that would confirm. A GAP
should be send instead of retrying now.

https://bugzilla.gnome.org/show_bug.cgi?id=731015
---
 sys/v4l2/gstv4l2bufferpool.c | 17 ++++++++++++-----
 sys/v4l2/gstv4l2bufferpool.h |  1 +
 2 files changed, 13 insertions(+), 5 deletions(-)

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