diff options
author | wm4 <wm4@nowhere> | 2020-03-27 00:09:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-27 00:09:51 +0100 |
commit | d3be6a61634ff6f9ba217320eaa9fb9349a5c144 (patch) | |
tree | 41d633f3e0a5f562e7fcbdd776d7b3744c74a2c8 /libmpv/client.h | |
parent | 88194d05d32f8a9d6959ec871aeb6b1aaab6f661 (diff) | |
download | mpv-d3be6a61634ff6f9ba217320eaa9fb9349a5c144.tar.bz2 mpv-d3be6a61634ff6f9ba217320eaa9fb9349a5c144.tar.xz |
client API: another minor clarification for convenience
The previous commit actually makes use of this.
Diffstat (limited to 'libmpv/client.h')
-rw-r--r-- | libmpv/client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h index 4889e75f49..ce11ae4872 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -666,7 +666,9 @@ int64_t mpv_get_time_us(mpv_handle *ctx); */ 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, /** |