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>
a.setWindowIcon(QIcon(":/qv4l2.png"));
g_mw = new ApplicationWindow();
g_mw->setWindowTitle("V4L2 Test Bench");
- g_mw->setDevice(a.argc() > 1 ? a.argv()[1] : "/dev/video0", true);
+ g_mw->setDevice(a.argc() > 1 ? a.argv()[1] : "/dev/video0", false);
g_mw->show();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
return a.exec();