mpv_get_property_string method
Return the value of the property with the given name as string. This is equivalent to mpv_get_property() with MPV_FORMAT_STRING.
See MPV_FORMAT_STRING for character encoding issues.
On error, NULL is returned. Use mpv_get_property() if you want fine-grained error reporting.
@param name The property name. @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_string(
ffi.Pointer<mpv_handle> ctx,
ffi.Pointer<ffi.Int8> name,
) {
return _mpv_get_property_string(
ctx,
name,
);
}