diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2021-08-26 09:23:45 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-08-26 16:42:52 +0300 |
commit | 9c49106b9709da130d81bff913db8ce2daecd9b6 (patch) | |
tree | 881cec1ba36b257129bbeaa863d83ed9c56247c8 /src/ipa/raspberrypi/controller/rpi/agc.hpp | |
parent | 1ca5513396b4fa52f7305e19b7db0ae525dbd730 (diff) |
gstreamer: Fix concurrent access issues to CameraManager
It's not allowed to have multiple instances of CameraManager. This
requirement is not easy for GStreamer were the device monitor and
the camerasrc, or two camerasrc instances don't usually have any
interaction between each other. Fix this by implementing a minimalist
singleton around CameraManager constructor and start()/stop()
operations.
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 'src/ipa/raspberrypi/controller/rpi/agc.hpp')
0 files changed, 0 insertions, 0 deletions