mpv_get_property_osd_string method

Pointer<Int8> mpv_get_property_osd_string(
  1. Pointer<mpv_handle> ctx,
  2. Pointer<Int8> name
)

Return the property as "OSD" formatted string. This is the same as mpv_get_property_string, but using MPV_FORMAT_OSD_STRING.

@return Property value, or NULL if the property can't be retrieved. Free the string with mpv_free().

Implementation

ffi.Pointer<ffi.Int8> mpv_get_property_osd_string(
  ffi.Pointer<mpv_handle> ctx,
  ffi.Pointer<ffi.Int8> name,
) {
  return _mpv_get_property_osd_string(
    ctx,
    name,
  );
}