summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2021-01-15 15:28:17 -0300
committerThibault Saunier <tsaunier@igalia.com>2021-02-10 16:14:47 -0300
commit42cb09a2c2a4105433cd6ba275904684ad0f57e3 (patch)
tree41f9299028702237c6ccc71fca22cbd55786e7f9
parent6336c1bb534bd3b24264d6a68f1c13d74560f35c (diff)
tools: Reindent options
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/227>
-rw-r--r--tools/ges-launcher.c35
1 files changed, 17 insertions, 18 deletions
diff --git a/tools/ges-launcher.c b/tools/ges-launcher.c
index baf8ae74..cf6b4158 100644
--- a/tools/ges-launcher.c
+++ b/tools/ges-launcher.c
@@ -1176,16 +1176,17 @@ ges_launcher_parse_options (GESLauncher * self,
gboolean owns_ctx = ctx == NULL;
GESLauncherParsedOptions *opts = &self->priv->parsed_options;
gchar *prev_videosink = opts->videosink, *prev_audiosink = opts->audiosink;
+/* *INDENT-OFF* */
GOptionEntry options[] = {
{"disable-mixing", 0, 0, G_OPTION_ARG_NONE, &opts->disable_mixing,
- "Do not use mixing elements to mix layers together.", NULL}
- ,
+ "Do not use mixing elements to mix layers together.", NULL
+ },
{"track-types", 't', 0, G_OPTION_ARG_CALLBACK, &_parse_track_type,
"Specify the track types to be created. "
"When loading a project, only relevant tracks will be added to the "
"timeline.",
- "<track-types>"}
- ,
+ "<track-types>"
+ },
{
"video-caps",
0,
@@ -1193,8 +1194,7 @@ ges_launcher_parse_options (GESLauncher * self,
G_OPTION_ARG_STRING,
&opts->video_track_caps,
"Specify the track restriction caps of the video track.",
- }
- ,
+ },
{
"audio-caps",
0,
@@ -1202,8 +1202,7 @@ ges_launcher_parse_options (GESLauncher * self,
G_OPTION_ARG_STRING,
&opts->audio_track_caps,
"Specify the track restriction caps of the audio track.",
- }
- ,
+ },
#ifdef HAVE_GST_VALIDATE
{"set-test-file", 0, 0, G_OPTION_ARG_STRING, &opts->testfile,
"ges-launch-1.0 exposes gst-validate functionalities, such as test files and scenarios."
@@ -1213,8 +1212,8 @@ ges_launcher_parse_options (GESLauncher * self,
"clips. "
"See gst-validate-1.0 --help for more info about validate and "
"scenarios, " "and --inspect-action-type.",
- "</test/file/path>"}
- ,
+ "</test/file/path>"
+ },
{"set-scenario", 0, 0, G_OPTION_ARG_STRING, &opts->scenario,
"ges-launch-1.0 exposes gst-validate functionalities, such as scenarios."
" Scenarios describe actions to execute, such as seeks or setting of "
@@ -1223,12 +1222,12 @@ ges_launcher_parse_options (GESLauncher * self,
"clips. "
"See gst-validate-1.0 --help for more info about validate and "
"scenarios, " "and --inspect-action-type.",
- "<scenario_name>"}
- ,
+ "<scenario_name>"
+ },
{"disable-validate", 'n', 0, G_OPTION_ARG_NONE, &opts->disable_validate,
"Do not run inside GstValidate.",
- "<scenario_name>"}
- ,
+ "<scenario_name>"
+ },
#endif
{
"embed-nesteds",
@@ -1237,14 +1236,14 @@ ges_launcher_parse_options (GESLauncher * self,
G_OPTION_ARG_NONE,
&opts->embed_nesteds,
"Embed nested timelines when saving.",
- }
- ,
+ },
{"no-interactive", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE,
&opts->interactive,
- "Disable interactive control via the keyboard", NULL}
- ,
+ "Disable interactive control via the keyboard", NULL
+ },
{NULL}
};
+/* *INDENT-ON* */
if (owns_ctx) {
opts->videosink = opts->audiosink = NULL;