diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-08-25 17:45:33 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-08-27 09:49:16 +0200 |
commit | 643cc403fec2e568dbd7b4dbce8edbaa9eaea98e (patch) | |
tree | e495cdd0dd580fcee1e32fa5adde474be626bad7 /src/gstreamer/gstlibcamera-utils.cpp | |
parent | 6453e75c7ab28622d948745a768f3cc0ad2a2882 (diff) |
libcamera: camera configuration: Add at() function in doc
The documentation suggests to use CameraConfiguration::operator[] to
access the StreamConfiguration it contains, but as CameraConfiguration
instances are generated by the Camera class and are returned wrapped in
a unique_ptr<>, the usage of operator[] would require an awkward syntax such
as (*config)[i].
Better to suggest the usage of the CameraConfiguration::at() function
instead to access the StreamConfigurations.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamera-utils.cpp')
0 files changed, 0 insertions, 0 deletions