summaryrefslogtreecommitdiffstats
path: root/tests/icles
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-09-27 17:47:57 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-09-27 17:47:57 +0000
commit2c72b70484a4b903b267b07e58b548452edb131c (patch)
treed1d91c7f7dff9cace1f1bdf98f8ef269c9348a13 /tests/icles
parentd8769c7d84784114add39bc8d32018a64f1d4fd7 (diff)
Removed set-undef-fps.
Original commit message from CVS: Removed set-undef-fps.
Diffstat (limited to 'tests/icles')
-rw-r--r--tests/icles/v4l2src-test.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/icles/v4l2src-test.c b/tests/icles/v4l2src-test.c
index a81c357d..431f00c2 100644
--- a/tests/icles/v4l2src-test.c
+++ b/tests/icles/v4l2src-test.c
@@ -358,7 +358,6 @@ main (int argc, char *argv[])
gchar device[128] = { '\0' };
gchar input[128] = { '\0' };
gulong frequency = 0;
- gboolean undeffps = FALSE;
GstBus *bus;
/* see for input option */
@@ -371,7 +370,6 @@ 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-undef-fps to TRUE"},
{0, 0, 0, 0}
};
static struct option long_options[] = {
@@ -379,13 +377,12 @@ main (int argc, char *argv[])
{"device", 1, 0, 'd'},
{"input", 1, 0, 'i'},
{"frequency", 1, 0, 'f'},
- {"undeffps", 0, 0, 's'},
{0, 0, 0, 0}
};
/* getopt_long stores the option index here. */
int option_index = 0;
- c = getopt_long (argc, argv, "n:d:i:f:sh", long_options, &option_index);
+ c = getopt_long (argc, argv, "n:d:i:f:h", long_options, &option_index);
/* Detect the end of the options. */
if (c == -1) {
@@ -420,10 +417,6 @@ main (int argc, char *argv[])
frequency = atol (optarg);
break;
- case 's':
- undeffps = TRUE;
- break;
-
case 'h':
printf ("Usage: v4l2src-test [OPTION]...\n");
for (c = 0; long_options[c].name; ++c) {
@@ -484,9 +477,6 @@ main (int argc, char *argv[])
if (frequency) {
g_object_set (source, "frequency", frequency, NULL);
}
- if (undeffps) {
- g_object_set (source, "use-undef-fps", undeffps, NULL);
- }
/* you would normally check that the elements were created properly */
bus = gst_pipeline_get_bus (GST_PIPELINE (pipeline));