summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-23 16:07:11 +0100
committerwm4 <wm4@nowhere>2015-02-23 16:07:11 +0100
commitd77fdc8f82491eeba019575f402127d2794acfc6 (patch)
treefffae8806b8314e8635dcd836c898b68f9cc49a9 /libmpv
parent78fb7cbf4d2d406ec19052f8ab321830f46990e9 (diff)
downloadmpv-d77fdc8f82491eeba019575f402127d2794acfc6.tar.bz2
mpv-d77fdc8f82491eeba019575f402127d2794acfc6.tar.xz
client API: hint that opengl_cb is an alternative to window embedding
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 0ccb2068e1..0607f9a562 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -154,6 +154,13 @@ extern "C" {
* "wid" option fully and letterbox the video (i.e. add black bars if the
* aspect ratio of the window and the video mismatch).
*
+ * Setting the "input-vo-keyboard" may be required to get keyboard input
+ * through the embedded window, if this is desired.
+ *
+ * For OpenGL integration (e.g. rendering video to a texture), a separate API
+ * is available. Look at opengl_cb.h. This API does not include keyboard or
+ * mouse input directly.
+ *
* Also see client API examples and the mpv manpage.
*
* Compatibility