summaryrefslogtreecommitdiff
path: root/src/qcam/main.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-03-08 17:03:14 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-03-09 08:59:25 +0100
commitf179616ec7dab5ab0276657386e7c61d024d2169 (patch)
tree510fcebefc354696e1a1909da03b3a930f168729 /src/qcam/main.cpp
parent2c34991d16caf54a7bc32eb607a712b8b973c1eb (diff)
android: camera_device: Fail template on no FPS range
The camera supported FPS range is crucial to distinguish between capture templates for preview and video recording. If the pipeline handler did not specify an available FPS range by registering the controls::FrameDurations property so far the control was simply not added to the generated capture template. In order to prepare to generate templates for video recording which require a fixed FPS range, fail earlier in generating any template at all if the available FPS range is not provided by the Camera. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/main.cpp')
0 files changed, 0 insertions, 0 deletions