[Bug 783627] gstvideodecoder.c: excessive locking triggering many deadlocks
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Jun 11 14:58:49 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783627
--- Comment #7 from minfrin at sharp.fm ---
Just learned that the stream lock is recursive and as I understand can be
called multiple times from the same thread.
gstvideodecoder.c in this case is being called from gstomxvideodec.c - in this
case the OMX video hardware is processed by two different threads, one thread
feeds data into the GPU, and the second thread pulls data out of the GPU.
>From what I can see this causes potential problems with locking, as a query
from one thread can be blocked on the other, which is in turn waiting for the
first thread to be ready to receive data.
--
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