mmr_input_parameters()

Set input parameters

Synopsis:

#include <mm/renderer.h>
int mmr_input_parameters(mmr_context_t *ctxt,
                         strm_dict_t *parms)

Arguments:

ctxt
A handle to the context for which the input is being configured
parms

A handle to a dictionary containing the input parameters to set (must not be NULL). Any previous parameters are overridden.

The strm_dict_t object becomes API property after this call, even if it fails. You should not use or destroy the dictionary after passing it to this function.

Library:

mmrndclient

Description:

Set input parameters. These parameters affect how mm-renderer accesses the input. Some parameters must be set before the input is attached because setting them afterwards has no effect. When the input is attached, its type and URL format determine which additional input parameters are processed by mm-renderer. Parameters that aren't applicable are ignored.

All input parameters are cleared when the input is detached, whether explicitly through a call to mmr_input_detach() or implicitly when mmr_input_attach() is called to attach a new input.

Returns:

Zero on success, -1 on failure (use mmr_error_info())