diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2006-09-27 17:47:57 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2006-09-27 17:47:57 +0000 |
commit | ee6160c42552bb628028428e3fa495b1bc6d5af8 (patch) | |
tree | 9a8d8d69b3f83dd99cda3cec648c12bc43544382 /tests | |
parent | 23695a094daea74be91061f833a90201d61eb962 (diff) | |
download | gst-plugins-bad-ee6160c42552bb628028428e3fa495b1bc6d5af8.tar.gz gst-plugins-bad-ee6160c42552bb628028428e3fa495b1bc6d5af8.tar.bz2 gst-plugins-bad-ee6160c42552bb628028428e3fa495b1bc6d5af8.zip |
Removed set-undef-fps.
Original commit message from CVS:
Removed set-undef-fps.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/icles/v4l2src-test.c | 12 |
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)); |