[Bug 727100] v4l2bufferpool: Race condition on qbuf/dqbuf in a multithreaded context
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed May 14 06:44:16 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=727100
GStreamer | gst-plugins-good | 1.2.3
Nicolas Dufresne <nicolas.dufresne> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #14 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-05-14 13:44:11 UTC ---
Well, it's not has bad as it looks like. As qbuf/dqbuf only occurs on writable
buffers. Hence the buffers[] array will stay consistent (as long as we fix the
order issue). The real problem is the num_queued counter and it's usage for
copy threashold. I'll give it more thought, but I think we can keep it lockless
(as this is what the GstBufferPool design suggest to do).
I think some work is needed even in git master.
--
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