diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-30 21:04:59 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-07-10 16:11:16 +0900 |
commit | 5445c7d4b2a07d52a04bedfc1ba351a87bdc7633 (patch) | |
tree | 87e4edbcb25a5baaac90bcfb3ed4fc8ed76a5aa8 /src/v4l2/v4l2_compat_manager.h | |
parent | 10d05404eb5b3941ef34dbdd901c61d302b421e0 (diff) |
libcamera: pipeline_handler: Fatal if registering camera without media devices
Pipeline handlers must acquire media devices via
PipelineHander::acquireMediaDevice so that the media devices can be
registered with the pipeline handler, so that they can be automatically
added to the devnum map for the v4l2 compatibility layer to use. Die
fatally if any camera trying to be registered has not acquired any media
devices via acquireMediaDevice.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat_manager.h')
0 files changed, 0 insertions, 0 deletions