summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-10-12 19:46:59 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-10-12 19:46:59 +0200
commit6d060792026d9cd70c734ccf273fbbaa6bfde2c0 (patch)
treeeed3ca593dba18e7a46693cb1d49d1f3ff01e63e
parentb1d3b194cdf9ccb4554ecc44df951095c098d93c (diff)
validate: Rename --list-action-types to --inspect-action-type
Making clearer the meaning of the parameter and closer to the usual naming in the GStreamer land.
-rw-r--r--tools/ges-launch.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/ges-launch.c b/tools/ges-launch.c
index 6c66f735..feb26ca7 100644
--- a/tools/ges-launch.c
+++ b/tools/ges-launch.c
@@ -740,7 +740,7 @@ main (int argc, gchar ** argv)
gchar *load_path = NULL;
gchar *videosink = NULL, *audiosink = NULL;
const gchar *scenario = NULL;
- gboolean list_action_types = FALSE;
+ gboolean inspect_action_type = FALSE;
gchar *encoding_profile = NULL;
GOptionEntry options[] = {
@@ -785,8 +785,11 @@ main (int argc, gchar ** argv)
{"audiosink", 'a', 0, G_OPTION_ARG_STRING, &audiosink,
"The audio sink used for playing back", "<audiosink>"},
#ifdef HAVE_GST_VALIDATE
- {"list-action-types", 'y', 0, G_OPTION_ARG_NONE, &list_action_types,
- "List the available action types with which to write scenarios", NULL},
+ {"inspect-action-type", 'y', 0, G_OPTION_ARG_NONE, &inspect_action_type,
+ "Inspect the avalaible action types with which to write scenarios"
+ " if no parameter passed, it will list all avalaible action types"
+ " otherwize will print the full description of the wanted types",
+ NULL},
{"set-scenario", 0, 0, G_OPTION_ARG_STRING, &scenario,
"Specify a GstValidate scenario to run, 'none' means load gst-validate"
" but run no scenario on it", "<scenario_name>"},
@@ -862,7 +865,7 @@ main (int argc, gchar ** argv)
exit (0);
}
- if (list_action_types)
+ if (inspect_action_type)
return ges_validate_print_action_types ((const gchar **) argv + 1,
argc - 1);