1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00
mpv/DOCS/client_api_examples/qml
wm4 a850bf786e vo_opengl_cb: simplify API uninitialization
Until now, calling mpv_opengl_cb_uninit_gl() at a "bad moment" could
make the whole thing to explode. The API user was asked to avoid such
situations by calling it only in "good moments". But this was probably a
bit too subtle and could easily be overlooked.

Integrate the approach the qml example uses directly into the
implementation. If the OpenGL context is to be unitialized, forcefully
disable video, and block until this is done.
2014-12-31 20:31:19 +01:00
..
main.cpp
main.qml DOCS/client_api_examples: qtquick: fix destruction 2014-12-30 22:40:25 +01:00
mpvrenderer.cpp vo_opengl_cb: simplify API uninitialization 2014-12-31 20:31:19 +01:00
mpvrenderer.h DOCS/client_api_examples: qtquick: fix destruction 2014-12-30 22:40:25 +01:00
mpvtest.pro DOCS/client_api_examples: qtquick: fix destruction 2014-12-30 22:40:25 +01:00
mpvtest.qrc