summaryrefslogtreecommitdiffstats
path: root/tests/icles
diff options
context:
space:
mode:
authorMartin Rubli <martin_rubli@logitech.com>2006-05-05 20:12:59 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-05-05 20:12:59 +0000
commit59bc24d7388f546acfef09dc62868a6e984d5e18 (patch)
treeb9f499faea36dd19598f98f76fb5baa78495528f /tests/icles
parent706c907277a81c9f536a5edb18228492a73e8d9a (diff)
Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate dete...
Original commit message from CVS: Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate detection.
Diffstat (limited to 'tests/icles')
-rw-r--r--tests/icles/v4l2src-test.c4
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");