qv4l2: open the device node using libv4l if supplied on the command line.
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 24 Dec 2010 18:50:28 +0000 (19:50 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 24 Dec 2010 18:50:28 +0000 (19:50 +0100)
commitd9464e6b5e9dbbba090bf218427c847ee99159a9
tree2f848f5b38db41088110a24aa0cd4c5d5670cc59
parentd1f7dab4d2e9093547c27b39c6da7941f5f6133f
qv4l2: open the device node using libv4l if supplied on the command line.

It did open the device node using the system call open(), but libv4l should
be used by default. The difference in behavior between passing the device node
on the command line and via the open button on the toolbar was confusing.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
utils/qv4l2/qv4l2.cpp