diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-07 02:59:40 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-22 17:13:57 +0300 |
commit | 5082fe7b5b9ea7e073e409fd8b73126951803456 (patch) | |
tree | 4f6d5a97df0511e69ff6738a4a30996fa482cc6f /LICENSES/LGPL-2.1-or-later.txt | |
parent | caa6ffacb2fc4fb6ff1bc648fb418c5639011824 (diff) |
cam: Allow specifying directories in the --file option
The value of the --file option is the full name of the file to which
captured frames are written. To write files to a specific directory with
the default naming scheme, the "frame-#.bin" name has to appear at the
end of the file name. Simplify usage of the option by allowing --file to
specify a directory only. If the file name ends with a '/', the default
"frame-#.bin" file name is automatically appended.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'LICENSES/LGPL-2.1-or-later.txt')
0 files changed, 0 insertions, 0 deletions