Updated: October 28, 2024 |
Detach an output
#include <mm/renderer.h>
int mmr_output_detach(mmr_context_t *ctxt, unsigned output_id)
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.
Zero on success, -1 on failure (use mmr_error_info())