From 47029ca9de13e882d9ba6370faef3ae47f495805 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 1 May 2020 20:26:29 -0400 Subject: [PATCH] ges: tools: Fix printing validate action types We were not taking into account some arguments could have been eaten Part-of: --- subprojects/gst-editing-services/tools/ges-launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-editing-services/tools/ges-launcher.c b/subprojects/gst-editing-services/tools/ges-launcher.c index fbe22f356a..6bd44e6f46 100644 --- a/subprojects/gst-editing-services/tools/ges-launcher.c +++ b/subprojects/gst-editing-services/tools/ges-launcher.c @@ -1570,7 +1570,7 @@ _local_command_line (GApplication * application, gchar ** arguments[], if (opts->inspect_action_type) { ges_validate_print_action_types ((const gchar **) &((*arguments)[1]), - argc - 1); + g_strv_length (*arguments) - 1); goto done; }