mpv_set_property_async

Set a property asynchronously. You will receive the result of the operation as MPV_EVENT_SET_PROPERTY_REPLY event. The mpv_event.error field will contain the result status of the operation. Otherwise, this function is similar to mpv_set_property().

Safe to be called from mpv render API threads.

@param reply_userdata see section about asynchronous calls @param name The property name. @param format see enum mpv_format. @paramin data Option value. The value will be copied by the function. It will never be modified by the client API. @return error code if sending the request failed

extern (C)
int
mpv_set_property_async
(,,
const(char)* name
,,
void* data
)

Meta