summaryrefslogtreecommitdiff
path: root/src/py/cam/cam_null.py
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2023-02-13 16:43:06 +0000
committerUmang Jain <umang.jain@ideasonboard.com>2023-02-15 01:32:05 +0530
commit58e0b6e18c425072a47594f42fc0b61801403aca (patch)
tree2309b5980b1073117ad4f7ea5d996a47237342e8 /src/py/cam/cam_null.py
parent02f0492c55f293b6a00ee702cee51b5f1b1c2e50 (diff)
apps: Return std::optional<> from StreamKeyValueParser::parseRole()
Instead of having bool return type and an out parameter, use std::optional<libcamera::StreamRole> to return from StreamKeyValueParser::parseRole(). Meanwhile at it, re-word an existing comment to make it lucid. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/py/cam/cam_null.py')
0 files changed, 0 insertions, 0 deletions