diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/icles/v4l2src-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/icles/v4l2src-test.c b/tests/icles/v4l2src-test.c index b8f85e15..df6ad66f 100644 --- a/tests/icles/v4l2src-test.c +++ b/tests/icles/v4l2src-test.c @@ -199,7 +199,7 @@ main (int argc, char *argv[]) return -1; } - if (argv < 2) { + if (argc < 2) { g_object_set (source, "device", "/dev/video0", NULL); } else { g_object_set (source, "device", argv[1], NULL); @@ -222,7 +222,7 @@ main (int argc, char *argv[]) return -1; } - if (argv < 2) + if (argc < 2) printf ("\nOpening /dev/video0. Launch ./v4l2src-test.c devname to try another one\n"); |