cam: Add option to print the Request metadata
Add the "--metadata" option to the cam tool, which will be used to print the metadata associated with a completed capture request. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -197,6 +197,9 @@ int CamApp::parseOptions(int argc, char *argv[])
|
||||
parser.addOption(OptStrictFormats, OptionNone,
|
||||
"Do not allow requested stream format(s) to be adjusted",
|
||||
"strict-formats");
|
||||
parser.addOption(OptMetadata, OptionNone,
|
||||
"Print the metadata for completed requests",
|
||||
"metadata");
|
||||
|
||||
options_ = parser.parse(argc, argv);
|
||||
if (!options_.valid())
|
||||
|
||||
Reference in New Issue
Block a user