1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/DOCS/client_api_examples
wm4 3c3883ebe1 DOCS/client_api_examples: qml_direct: QWindow::size() is not thread-safe
We still keep the window pointer, because we want to call
QQuickWindow::resetOpenGLState() (which runs on the rendering thread
only). Interesting mess...
2015-01-09 16:00:16 +01:00
..
cocoa build: try to make examples build both in-tree and out-of-tree 2015-01-02 00:00:03 +01:00
qml DOCS/client_api_examples: qml: reduce number of files 2015-01-09 15:49:34 +01:00
qml_direct DOCS/client_api_examples: qml_direct: QWindow::size() is not thread-safe 2015-01-09 16:00:16 +01:00
qt DOCS/client_api_examples: qtexample: demonstrate multiple mpv instances 2015-01-06 11:56:10 +01:00
simple build: try to make examples build both in-tree and out-of-tree 2015-01-02 00:00:03 +01:00
Copyright DOCS/client_api_examples: add an explicit license 2014-12-30 22:47:50 +01:00
README.md DOCS/client_api_examples: add an alternative qml example 2015-01-08 02:40:30 +01:00

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.

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.

qt

Shows how to embed the mpv video window in Qt (using normal desktop widgets).

simple

Very primitive terminal-only example. Shows some most basic API usage.