mmr_output_detach()

Updated: April 19, 2023

Detach an output

Synopsis:

#include <mm/renderer.h>
int mmr_output_detach(mmr_context_t *ctxt,
                      unsigned output_id)

Arguments:

ctxt
A handle to the context from which the output is being detached
output_id
An output ID

Library:

mmrndclient

Description:

Detach the specified output. You must call this function when no input is defined for the context; otherwise, the function fails because mm-renderer currently doesn't allow for output detachments when an input is defined.

Returns:

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