summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-23 16:07:11 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-02-25 10:50:31 +0900
commit0edd08a1f6e099af90a063390052033f0086d8a0 (patch)
treedc92e2f4b59c68eb8600158582defc40c9c56a5c
parent7f5378680b5df7dd1caf7e3812341cf6f3ee463f (diff)
downloadmpv-0edd08a1f6e099af90a063390052033f0086d8a0.tar.bz2
mpv-0edd08a1f6e099af90a063390052033f0086d8a0.tar.xz
client API: hint that opengl_cb is an alternative to window embedding
(cherry picked from commit d77fdc8f82491eeba019575f402127d2794acfc6)
-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