mirror of https://github.com/mpv-player/mpv
client API: hint that opengl_cb is an alternative to window embedding
(cherry picked from commit d77fdc8f82
)
This commit is contained in:
parent
7f5378680b
commit
0edd08a1f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue