ges: tools: Fix printing validate action types

We were not taking into account some arguments could have been eaten

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/918>
This commit is contained in:
Thibault Saunier 2020-05-01 20:26:29 -04:00 committed by GStreamer Marge Bot
parent 49dee23e65
commit 47029ca9de

View file

@ -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;
}