diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 19:18:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 19:18:08 +0200 |
commit | d6c86e2037dae147bb0292b9da109614872a99d7 (patch) | |
tree | edf300527792e5b47f5103f0dd487efd6d5031f0 /src/v4l.cc | |
parent | b6e930afb15717e144ec5f526bce88a32f9ab9e5 (diff) |
Make it possible to disable audio and/or video input.
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() |