validate:scenario: Cleanup spurious error message

This commit is contained in:
Thibault Saunier 2019-03-10 17:05:15 -03:00
parent b61cb56e20
commit c32c3e82d6

View file

@ -2952,10 +2952,8 @@ gst_validate_action_default_prepare_func (GstValidateAction * action)
type->parameters[i].name, &tmp); type->parameters[i].name, &tmp);
} }
if (action->repeat > 0) { if (action->repeat > 0)
GST_ERROR ("Repeat already set!");
return TRUE; return TRUE;
}
if (!gst_structure_has_field (action->structure, "repeat")) if (!gst_structure_has_field (action->structure, "repeat"))
return TRUE; return TRUE;