diff options
Diffstat (limited to 'src/v4l.cc')
-rw-r--r-- | src/v4l.cc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -791,7 +791,9 @@ V4L::V4L(QString device) v4l = this; // Set global V4L object pointer. running = true; - start(); + + // Only start if we actually have a video interface. + if(device != "") start(); } V4L::~V4L() |