client API: another minor clarification for convenience

The previous commit actually makes use of this.
This commit is contained in:
wm4 2020-03-27 00:09:51 +01:00
parent 88194d05d3
commit d3be6a6163
1 changed files with 3 additions and 1 deletions

View File

@ -666,7 +666,9 @@ int64_t mpv_get_time_us(mpv_handle *ctx);
*/ */
typedef enum mpv_format { typedef enum mpv_format {
/** /**
* Invalid. Sometimes used for empty values. * Invalid. Sometimes used for empty values. This is always defined to 0,
* so a normal 0-init of mpv_format (or e.g. mpv_node) is guaranteed to set
* this it to MPV_FORMAT_NONE (which makes some things saner as consequence).
*/ */
MPV_FORMAT_NONE = 0, MPV_FORMAT_NONE = 0,
/** /**