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
commitab273cf9865eb03aec33024126c63aa59894e756 (patch)
tree4a5d527fe0533f16ec8e6efedd534434c88b5f07 /tests/icles
parente874927200fdc5167f2cb5d0db97a6a7a2dc89bf (diff)
downloadgst-plugins-bad-ab273cf9865eb03aec33024126c63aa59894e756.tar.gz
gst-plugins-bad-ab273cf9865eb03aec33024126c63aa59894e756.tar.bz2
gst-plugins-bad-ab273cf9865eb03aec33024126c63aa59894e756.zip
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");