mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 01:53:32 +00:00
a850bf786e
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. |
||
---|---|---|
.. | ||
client.h | ||
mpv.def | ||
mpv.pc.in | ||
opengl_cb.h | ||
qthelper.hpp |