Updated: October 28, 2024 |
Detach the input
#include <mm/renderer.h>
int mmr_input_detach(mmr_context_t *ctxt)
Detach the input. If the context is playing, mm-renderer stops playback first. If there is no input already, this is a no-op.
Zero on success, -1 on failure (use mmr_error_info())