summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-03-02 05:54:22 +0100
committerwm4 <wm4@nowhere>2017-03-02 05:54:22 +0100
commitad72c56b4c054fe9537b8d9cc1d8f0908fe25252 (patch)
tree3d6d7ba3e548b3dd3151d4a8f3051768eff6a7e1
parentb622611d62a03653086fb1b496c7d472b665891d (diff)
downloadmpv-examples-ad72c56b4c054fe9537b8d9cc1d8f0908fe25252.tar.bz2
mpv-examples-ad72c56b4c054fe9537b8d9cc1d8f0908fe25252.tar.xz
README: some additions to "wid" embedded
Moved to here from mpv's client.h.
-rw-r--r--libmpv/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/libmpv/README.md b/libmpv/README.md
index cc9e5dd..197b47e 100644
--- a/libmpv/README.md
+++ b/libmpv/README.md
@@ -45,6 +45,13 @@ that of modern UI toolkits - it's normally worked around, but this is not
easily possible with raw window embedding). It seems to have stability problems
on OSX when using the Qt toolkit.
+Both on X11 and win32, the player will fill the window referenced by the "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.
+
### OpenGL embedding
This method lets you use libmpv's OpenGL renderer directly. You create an