mpv/DOCS/client_api_examples
wm4 b103a8e113 DOCS/client_api_examples/sdl: don't load file before GL init
Could lead to failure because it's essentially a race condition.
2015-08-11 19:02:25 +02:00
..
cocoa DOCS: fix wrong libmpv's cocoa example comment 2015-05-27 14:34:42 +02:00
cocoa-openglcb DOCS/client_api_examples/cocoa-openglcb: do initial flush correctly. 2015-05-23 19:21:10 +02:00
qml DOCS/client_api_examples: Qt: force qmake to use pkg-config. 2015-05-16 20:56:44 +02:00
qml_direct DOCS/client_api_examples: Qt: force qmake to use pkg-config. 2015-05-16 20:56:44 +02:00
qt DOCS/client_api_examples: Qt: force qmake to use pkg-config. 2015-05-16 20:56:44 +02:00
sdl DOCS/client_api_examples/sdl: don't load file before GL init 2015-08-11 19:02:25 +02:00
simple DOCS/client_api_examples/simple: fix option 2015-02-23 16:08:38 +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 SDL OpenGL example 2015-08-11 01:23:09 +02:00

README.md

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.

sdl

Show how to embed the mpv OpenGL renderer in SDL.

simple

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