diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2014-10-12 20:00:03 +0200 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2014-10-12 20:00:03 +0200 |
commit | 9158bb36e30dd4069d2b8a32ced941883d69eeb4 (patch) | |
tree | e52e08c7017577eff057c1c8b365cf3858388548 | |
parent | 8289f649045c9637d017d3ae215673872f35068b (diff) |
validate: Fix the addition of playback_time in the parameter types
-rw-r--r-- | validate/gst/validate/gst-validate-scenario.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index ca2bbf1..67fff90 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -1927,7 +1927,8 @@ gst_validate_add_action_type (const gchar * type_name, if (parameters) { for (n_params = 0; parameters[n_params].name != NULL; n_params++); - n_params += 2; + if (is_config) + n_params += 1; } if (n_params) { @@ -2040,7 +2041,7 @@ init_scenarios (void) clean_action_str = g_regex_new ("\\\\\n|#.*\n", G_REGEX_CASELESS, 0, NULL); /* *INDENT-OFF* */ - ADD_ACTION_TYPE ("description", _execute_seek, + ADD_ACTION_TYPE ("description", NULL, ((GstValidateActionParameter []) { { .name = "summary", |