From 7efa8c86a9124da432ec1860fa3a97115938b3bc Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 26 Feb 2015 13:49:23 +0100 Subject: [PATCH] ges-launch: Remove useless options, rename some short options. --- tools/ges-launch.c | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/tools/ges-launch.c b/tools/ges-launch.c index c1e6a57f38..356fdbb8b2 100644 --- a/tools/ges-launch.c +++ b/tools/ges-launch.c @@ -696,10 +696,6 @@ main (int argc, gchar ** argv) gchar *encoding_profile = NULL; GOptionEntry options[] = { - {"thumbnail", 'm', 0.0, G_OPTION_ARG_DOUBLE, &thumbinterval, - "Save thumbnail every seconds to current directory", ""}, - {"smartrender", 's', 0, G_OPTION_ARG_NONE, &smartrender, - "Render to outputuri and avoid decoding/reencoding", NULL}, {"outputuri", 'o', 0, G_OPTION_ARG_STRING, &outputuri, "URI to encode to", "://"}, {"format", 'f', 0, G_OPTION_ARG_STRING, &format, @@ -709,21 +705,15 @@ main (int argc, gchar ** argv) "Use a specific encoding profile from XML", ""}, {"repeat", 'r', 0, G_OPTION_ARG_INT, &repeat, "Number of times to repeat timeline", ""}, - {"list-transitions", 't', 0, G_OPTION_ARG_NONE, &list_transitions, + {"list-transitions", 0, 0, G_OPTION_ARG_NONE, &list_transitions, "List valid transition types and exit", NULL}, - {"list-patterns", 'p', 0, G_OPTION_ARG_NONE, &list_patterns, - "List patterns and exit", NULL}, - {"save", 'z', 0, G_OPTION_ARG_STRING, &save_path, + {"save", 's', 0, G_OPTION_ARG_STRING, &save_path, "Save project to file before rendering", ""}, {"load", 'l', 0, G_OPTION_ARG_STRING, &load_path, "Load project from file before rendering", ""}, - {"verbose", 0, 0, G_OPTION_ARG_NONE, &verbose, - "Output status information and property notifications", NULL}, - {"exclude", 'X', 0, G_OPTION_ARG_NONE, &exclude_args, - "Do not output status information of ", ",,..."}, - {"track-types", 'p', 0, G_OPTION_ARG_CALLBACK, &parse_track_type, + {"track-types", 't', 0, G_OPTION_ARG_CALLBACK, &parse_track_type, "Defines the track types to be created"}, - {"mute", 0, 0, G_OPTION_ARG_NONE, &mute, + {"mute", 'm', 0, G_OPTION_ARG_NONE, &mute, "Mute playback output by using fakesinks"}, {"disable-mixing", 0, 0, G_OPTION_ARG_NONE, &disable_mixing, "Do not use mixing element in the tracks"}, @@ -731,13 +721,13 @@ main (int argc, gchar ** argv) "The video sink used for playing back", ""}, {"audiosink", 'a', 0, G_OPTION_ARG_STRING, &audiosink, "The audio sink used for playing back", ""}, - {"sample-paths", 'P', 0, G_OPTION_ARG_CALLBACK, &_add_media_path, + {"sample-paths", 'p', 0, G_OPTION_ARG_CALLBACK, &_add_media_path, "List of pathes to look assets in if they were moved"}, {"sample-path-recurse", 'R', 0, G_OPTION_ARG_CALLBACK, &_add_media_path, "Same as above, but recursing into the folder"}, #ifdef HAVE_GST_VALIDATE - {"inspect-action-type", 'y', 0, G_OPTION_ARG_NONE, &inspect_action_type, + {"inspect-action-type", 0, 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",