diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-01 17:51:42 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-20 16:47:45 +0200 |
commit | 4e3f835126b5116f5cec88634e18f3d54900892d (patch) | |
tree | 7d2c114a26a33490e8d7259dde97d6e3aeea3d16 /src/gstreamer/gstlibcamerapool.h | |
parent | e5a9e6e9cd3e12efe9ce078171fbe67d7d41a771 (diff) |
libcamera: controls: Add support for string controls
String controls are stored internally as an array of char, but the
ControlValue constructor, get() and set() functions operate on an
std::string for convenience. Array of strings are thus not supported.
Unlike for other control types, the ControlInfo range reports the
minimum and maximum allowed lengths of the string (the minimum will
usually be 0), not the minimum and maximum value of each element.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/gstreamer/gstlibcamerapool.h')
0 files changed, 0 insertions, 0 deletions