mmr_context_parameters()

Set context parameters

Synopsis:

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

Arguments:

ctxt
A handle to the context being configured
parms

A handle to a dictionary containing the context 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 parameters for the specified context. The applicable parameters and their possible values are implementation-specific. For example, different input and output types may allow different context parameters to be defined. Note, though, that context parameters are independent of the exact media files being played.

Returns:

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