summaryrefslogtreecommitdiffstats
path: root/x11vnc/v4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/v4l.c')
-rw-r--r--x11vnc/v4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/v4l.c b/x11vnc/v4l.c
index 7799354..22b4d00 100644
--- a/x11vnc/v4l.c
+++ b/x11vnc/v4l.c
@@ -1090,7 +1090,7 @@ static char *guess_via_v4l_info(char *dev, int *fd) {
if (*fd) {}
/* v4l-info */
- if (no_external_cmds) {
+ if (no_external_cmds || !cmd_ok("v4l-info")) {
rfbLog("guess_via_v4l_info: cannot run external "
"command: v4l-info\n");
return NULL;
OpenPOWER on IntegriCloud