diff options
author | wm4 <wm4@nowhere> | 2015-01-04 22:19:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-04 22:19:42 +0100 |
commit | e7b78bea65a8e039ed60586093d18ab81151b838 (patch) | |
tree | 810fb3c2a452c41932baa1530f44d36aeeeebbcb /libmpv | |
parent | d5e744d4b8a36ece3957c3313bbb6181dd8965ef (diff) | |
download | mpv-e7b78bea65a8e039ed60586093d18ab81151b838.tar.bz2 mpv-e7b78bea65a8e039ed60586093d18ab81151b838.tar.xz |
client API, vo_opengl_cb: properly uninit video
mpv_opengl_cb_uninit_gl() can be called at any time; but then the
decoder must be destroyed due to complications with hardware decoding.
This is why kill_video() exists. To make things easier, there is the
invariant that while vo_opengl_cb is active, the OpenGL state must
exist. But kill_video() didn't actually destroy the VO; only the video
decoder. This could trigger an assertion (vo_opengl_cb.c:187).
Actually, the video output is always destroyed lazily at a later point
if the decoder is destroyed, but not early enough for out purposes.
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions