Method

OmniToolmodify_links

Declaration

void
omni_tool_modify_links (
  OmniTool* self
  GError** error
)

Description

Extend link parameter sets.

This method is called during planning to give tools an opportunity to override resolved links’ parameter sets (OmniLink:param-set) before they are passed to input sources.

The default implementation does nothing, and this serves most use cases. Tool implementations need to override this method only if additional link parameters are required by the port schema.

The method implementation can assume that all active port properties (returned by omni_tool_list_active_port_properties()) are set to a non-null value and contain the links that need to be modified.