[libcamera-devel] [PATCH 0/1] fix: pipeline handlers: Stop exponential calls to `createPipelineHandlers`
Sophie Friedrich
dev at flowerpot.me
Mon Mar 6 00:06:02 CET 2023
While implementing the libusb enumeration through udev I noticed that
createPipelineHandlers would be called exponentially often after each
time I cycle plugged a usb device. As it turns out there seems to be a
bug in the camera manager which would result in `createPipelineHandlers`
to be called exponentially often after each emitted event on
`devicesAdded`.
I was able to reliable call the above mentioned function over a
thousand times after hotplugging my device only 10 times.
Sophie Friedrich (1):
fix: pipeline handlers: Stop exponential explosive calls to
createPipelineHandlers
src/libcamera/camera_manager.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--
2.34.1
More information about the libcamera-devel
mailing list