[][src]Function libmpv_sys::mpv_set_option_string

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

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

@return error code