Function mpv_render_context_free

Source
pub unsafe extern "C" fn mpv_render_context_free(
    ctx: *mut mpv_render_context,
)
Expand description

Destroy the mpv renderer state.

If video is still active (e.g. a file playing), video will be disabled forcefully.

@param ctx a valid render context. After this function returns, this is not a valid pointer anymore. NULL is also allowed and does nothing.