qv4l2: allow '-d1' option
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Aug 2014 13:25:35 +0000 (15:25 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Aug 2014 13:25:35 +0000 (15:25 +0200)
commitea3b599006cfa1be42514893f08cd470ad6e3a95
treeb2a8595b7924904d094024ad4ac6439f93e52283
parentfb1334e60cf2541c630e15c4883cd0eabf0581b5
qv4l2: allow '-d1' option

The v4l2-ctl utility supports -d1 to select /dev/video1. qv4l2 requires
you to write '-d 1'. I do that wrong all the time, so now qv4l2 supports both
versions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/qv4l2.cpp