summaryrefslogtreecommitdiffstats
path: root/libmpv/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpv/client.h')
-rw-r--r--libmpv/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 190b2ae4a0..313b6dfd89 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -602,7 +602,7 @@ typedef enum mpv_format {
* Example for writing:
*
* int flag = 1;
- * mpv_set_property(ctx, "property", MPV_FORMAT_STRING, &flag);
+ * mpv_set_property(ctx, "property", MPV_FORMAT_FLAG, &flag);
*/
MPV_FORMAT_FLAG = 3,
/**