#include <client.h>
Public Attributes | |
| const char * | name |
| Name of the property. More... | |
| mpv_format | format |
| Format of the data field in the same struct. More... | |
| void * | data |
| Received property value. More... | |
| void* mpv_event_property::data |
Received property value.
Depends on the format. This is like the pointer argument passed to mpv_get_property().
For example, for MPV_FORMAT_STRING you get the string with:
char *value = *(char **)(event_property->data);
Note that this is set to NULL if retrieving the property failed (the format will be MPV_FORMAT_NONE).
| mpv_format mpv_event_property::format |
| const char* mpv_event_property::name |