summaryrefslogtreecommitdiff
path: root/utils/ipc/extract-docs.py
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2021-08-26 09:23:46 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-26 16:42:54 +0300
commitd3be776654076f7048c4365190535c0a2c39ad51 (patch)
treed12cb5a3a3be4cecb359aadf266ff60b37ccc256 /utils/ipc/extract-docs.py
parent9c49106b9709da130d81bff913db8ce2daecd9b6 (diff)
libcamerasrc: Fix deadlock on EOS
It's not allowed in GStreamer to push events while holding the object lock. This reduce the scope into which we hold the object lock. In fact we don't need to protect against gst_task_resume() concurrency when we stop the task as resume only do something if the task is paused. This fixes a deadlock when running multiple instances of libcamerasrc and closing one of the streaming window. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/ipc/extract-docs.py')
0 files changed, 0 insertions, 0 deletions