summaryrefslogtreecommitdiffstats
path: root/libmpv/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpv/render.h')
-rw-r--r--libmpv/render.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpv/render.h b/libmpv/render.h
index cefe922b34..68a6b6bf52 100644
--- a/libmpv/render.h
+++ b/libmpv/render.h
@@ -154,13 +154,15 @@ typedef enum mpv_render_param_type {
MPV_RENDER_PARAM_AMBIENT_LIGHT = 7,
/**
* X11 Display, sometimes used for hwdec. Valid for
- * mpv_render_context_create().
+ * mpv_render_context_create(). The Display must stay valid for the lifetime
+ * of the mpv_render_context.
* Type: Display*
*/
MPV_RENDER_PARAM_X11_DISPLAY = 8,
/**
* Wayland display, sometimes used for hwdec. Valid for
- * mpv_render_context_create().
+ * mpv_render_context_create(). The wl_display must stay valid for the
+ * lifetime of the mpv_render_context.
* Type: struct wl_display*
*/
MPV_RENDER_PARAM_WL_DISPLAY = 9,