summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-09-27 15:14:07 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-09-27 15:14:07 +0000
commit0b0c7f16f849d76c033c2e37c4d40ab2be513357 (patch)
tree6a6eb7dc4b39b6db837f1d4aca16e68ba5231a54 /tests
parent2b1e939991c034fb4203df40f6ea0941b2e6453d (diff)
downloadgstreamer-plugins-bad-0b0c7f16f849d76c033c2e37c4d40ab2be513357.tar.gz
Some cleanups and comments.
Original commit message from CVS: Some cleanups and comments.
Diffstat (limited to 'tests')
-rw-r--r--tests/icles/v4l2src-test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/icles/v4l2src-test.c b/tests/icles/v4l2src-test.c
index eb0c18dc5..cb2e98fa2 100644
--- a/tests/icles/v4l2src-test.c
+++ b/tests/icles/v4l2src-test.c
@@ -335,7 +335,7 @@ main (int argc, char *argv[])
gchar device[128] = { '\0' };
gchar input[128] = { '\0' };
gulong frequency = 0;
- gboolean nofixedfps = TRUE;
+ gboolean undeffps = FALSE;
/* see for input option */
@@ -348,7 +348,7 @@ main (int argc, char *argv[])
{"Device location. Common in /dev/video0"},
{"input/output (channel) to switch to"},
{"frequency to tune to (in Hz)"},
- {"set use-fixed-fps to FALSE"},
+ {"set use-undef-fps to TRUE"},
{0, 0, 0, 0}
};
static struct option long_options[] = {
@@ -356,7 +356,7 @@ main (int argc, char *argv[])
{"device", 1, 0, 'd'},
{"input", 1, 0, 'i'},
{"frequency", 1, 0, 'f'},
- {"nofixedfps", 0, 0, 's'},
+ {"undeffps", 0, 0, 's'},
{0, 0, 0, 0}
};
/* getopt_long stores the option index here. */
@@ -398,7 +398,7 @@ main (int argc, char *argv[])
break;
case 's':
- nofixedfps = FALSE;
+ undeffps = TRUE;
break;
case 'h':
@@ -464,8 +464,8 @@ main (int argc, char *argv[])
if (frequency) {
g_object_set (source, "frequency", frequency, NULL);
}
- if (!nofixedfps) {
- g_object_set (source, "use-fixed-fps", nofixedfps, NULL);
+ if (undeffps) {
+ g_object_set (source, "use-undef-fps", undeffps, NULL);
}
/* you would normally check that the elements were created properly */