mpv_event.error

This is mainly used for events that are replies to (asynchronous) requests. It contains a status code, which is >= 0 on success, or < 0 on error (a mpv_error value). Usually, this will be set if an asynchronous request fails. Used for: MPV_EVENT_GET_PROPERTY_REPLY MPV_EVENT_SET_PROPERTY_REPLY MPV_EVENT_COMMAND_REPLY

struct mpv_event
int error;

Meta