mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 18:06:18 +00:00
a0ed62fc1d
The symlink trick made waf go crazy (deleting source files, getting tangled up in infinite recursion... I wish I was joking). This means we still can't build the client API examples in a reasonable way using the include files of the local repository (instead of globally installed headers). Not building them at all is better than deleting source files. Instead, provide some manual instructions how to build each example (except for the Qt examples, which provide qmake project files).
31 lines
578 B
Markdown
31 lines
578 B
Markdown
Client API examples
|
|
===================
|
|
|
|
All these examples use the mpv client API through libmpv.
|
|
|
|
cocoa
|
|
-----
|
|
|
|
Shows how to embed the mpv video window in Objective-C/Cocoa.
|
|
|
|
qt
|
|
--
|
|
|
|
Shows how to embed the mpv video window in Qt (using normal desktop widgets).
|
|
|
|
qml
|
|
---
|
|
|
|
Shows how to use mpv's OpenGL video renderer in QtQuick2 with QML.
|
|
|
|
qml_direct
|
|
----------
|
|
|
|
Alternative example, which typically avoids a FBO indirection. Might be
|
|
slightly faster, but is less flexible and harder to use.
|
|
|
|
simple
|
|
------
|
|
|
|
Very primitive terminal-only example. Shows some most basic API usage.
|