ges-launch: Remove useless options, rename some short options.

This commit is contained in:
Mathieu Duponchelle 2015-02-26 13:49:23 +01:00 committed by Thibault Saunier
parent 8e18fd790c
commit 7efa8c86a9

View file

@ -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 <n> seconds to current directory", "<n>"},
{"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", "<protocol>://<location>"},
{"format", 'f', 0, G_OPTION_ARG_STRING, &format,
@ -709,21 +705,15 @@ main (int argc, gchar ** argv)
"Use a specific encoding profile from XML", "<profile-name>"},
{"repeat", 'r', 0, G_OPTION_ARG_INT, &repeat,
"Number of times to repeat timeline", "<times>"},
{"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", "<path>"},
{"load", 'l', 0, G_OPTION_ARG_STRING, &load_path,
"Load project from file before rendering", "<path>"},
{"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 <type>", "<type1>,<type2>,..."},
{"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", "<videosink>"},
{"audiosink", 'a', 0, G_OPTION_ARG_STRING, &audiosink,
"The audio sink used for playing back", "<audiosink>"},
{"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",