summaryrefslogtreecommitdiff
path: root/src/cam/main.h
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-07-24 14:59:15 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-07-27 17:31:13 +0200
commit01ea694003094b51bd96883055b11e52a011bef9 (patch)
tree21ba33a6f21cb75ce3006472217a6f61c512377b /src/cam/main.h
parent3acc31b0e3bdb7a53d52ab32136aaf46f1af6ce7 (diff)
cam: Add option to disallow adjusting of requested formats
Add a '--strict-formats' option which fails the camera configuration step if the format is adjusted, Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/main.h')
-rw-r--r--src/cam/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cam/main.h b/src/cam/main.h
index 4a130d8d..6f95add3 100644
--- a/src/cam/main.h
+++ b/src/cam/main.h
@@ -17,6 +17,7 @@ enum {
OptListProperties = 'p',
OptStream = 's',
OptListControls = 256,
+ OptStrictFormats = 257,
};
#endif /* __CAM_MAIN_H__ */