From ee6160c42552bb628028428e3fa495b1bc6d5af8 Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Wed, 27 Sep 2006 17:47:57 +0000 Subject: Removed set-undef-fps. Original commit message from CVS: Removed set-undef-fps. --- tests/icles/v4l2src-test.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'tests') 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)); -- cgit v1.2.1