mpv_set_option_string method

int mpv_set_option_string(
  1. Pointer<mpv_handle> ctx,
  2. Pointer<Int8> name,
  3. Pointer<Int8> data
)

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

@return error code

Implementation

int mpv_set_option_string(
  ffi.Pointer<mpv_handle> ctx,
  ffi.Pointer<ffi.Int8> name,
  ffi.Pointer<ffi.Int8> data,
) {
  return _mpv_set_option_string(
    ctx,
    name,
    data,
  );
}