summaryrefslogtreecommitdiff
path: root/src/cam/options.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-17 13:07:31 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-18 23:34:03 +0300
commitc6090542cd4623d39ec9affb7d127ea188933890 (patch)
tree50d041a2539b1258921c9d9e45f13604698094c9 /src/cam/options.cpp
parentb2b3599b5b0673901bbce958bd9802b9d6313fcf (diff)
cam: Allow selecting cameras by index
As camera names can be cumbersome to type, selection of cameras by index from a list can be useful. Print the list of detected cameras with an index for each item, and interpret the camera name as an index if it is a numerical value in the range from 1 to the number of cameras. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/cam/options.cpp')
0 files changed, 0 insertions, 0 deletions