Function mpv_set_option_string

Source
pub unsafe extern "C" fn mpv_set_option_string(
    ctx: *mut mpv_handle,
    name: *const c_char,
    data: *const c_char,
) -> c_int
Expand description

Convenience function to set an option to a string value. This is like calling mpv_set_option() with MPV_FORMAT_STRING.

@return error code