diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-21 22:47:53 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-04 23:07:59 +0300 |
commit | b8708937bf68eaf5ff5f5560d5af778d1878248d (patch) | |
tree | 78b4fd67b5a5e88acffde8febc07af5f86f462c9 /include | |
parent | 06bd05beced313c79a72bad53870e5dc233f563e (diff) |
gstreamer: Fix pads locking
The srcpads_ vector is protected by two different locks, the GstObject
lock of the libcamerasrc element, and the stream_lock that covers the
run function of the thread. This isn't correct. Use the stream_lock
consistently to protect the pads.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions