diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-09-15 21:17:21 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-10-07 19:17:31 +0900 |
commit | c57622d95ff0b8bbc3d7fc6194f16b0a55b79842 (patch) | |
tree | 11aa5519f4f4061bf433890cb7405c277000ad22 /test/event-dispatcher.cpp | |
parent | 1469d5e26e27bf5fe4d065a6f3c87edd804f2888 (diff) |
libcamera: PipelineHandler: Move printing pipeline names to CameraManager
Since pipeline registration is done with declaring static factory
objects, there is a risk that pipeline factories will be constructed
before libcamera facilities are ready. For example, logging in the
constructor of a pipeline handler factory may cause a segfault if
threading isn't ready yet. Avoid this issue by moving printing the
registration of the pipeline handler to the camera manager.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/event-dispatcher.cpp')
0 files changed, 0 insertions, 0 deletions