From d3be6a61634ff6f9ba217320eaa9fb9349a5c144 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Mar 2020 00:09:51 +0100 Subject: client API: another minor clarification for convenience The previous commit actually makes use of this. --- libmpv/client.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, /** -- cgit v1.2.3