summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-10-12 20:00:03 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-10-12 20:00:03 +0200
commit9158bb36e30dd4069d2b8a32ced941883d69eeb4 (patch)
treee52e08c7017577eff057c1c8b365cf3858388548
parent8289f649045c9637d017d3ae215673872f35068b (diff)
validate: Fix the addition of playback_time in the parameter types
-rw-r--r--validate/gst/validate/gst-validate-scenario.c5
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",