Files
Stefano Pigozzi c6c4c3ea9c cocoa: remove the setNextKeyView hack
Just use makeFirstResponder on the mpv events view from client code
if you need the built in keyboard events (this is easier for dealing with view
nesting).

(cherry picked from commit 03a69bac95)
2015-03-03 16:05:24 +09:00
..
2015-01-23 17:41:50 +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.

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.