Membrane.Caps.Matcher.validate_specs
You're seeing just the function
validate_specs
, go back to Membrane.Caps.Matcher module for more information.
Specs
validate_specs(caps_specs_t() | any()) :: :ok | {:error, reason :: tuple()}
Function used to make sure caps specs are valid.
In particular, valid caps:
- Have shape described by
caps_specs_t/0
type - If they contain keyword list, the keys are present in requested caps type
It returns :ok
when caps are valid and {:error, reason}
otherwise