mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
validate: Fix the addition of playback_time in the parameter types
This commit is contained in:
parent
8289f64904
commit
9158bb36e3
1 changed files with 3 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue