diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/client.c | 3 | ||||
-rw-r--r-- | player/video.c | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/player/client.c b/player/client.c index 27f42afd74..0c6e829015 100644 --- a/player/client.c +++ b/player/client.c @@ -2181,10 +2181,9 @@ mp_client_api_acquire_render_context(struct mp_client_api *ca) return res; } -// Emulation of old opengl_cb API. +// Stubs of the old opengl_cb API. #include "libmpv/opengl_cb.h" -#include "libmpv/render_gl.h" void mpv_opengl_cb_set_update_callback(mpv_opengl_cb_context *ctx, mpv_opengl_cb_update_fn callback, diff --git a/player/video.c b/player/video.c index 734835d850..cae23df1c8 100644 --- a/player/video.c +++ b/player/video.c @@ -176,9 +176,9 @@ int init_video_decoder(struct MPContext *mpctx, struct track *track) // If possible, set this as parent so the decoder gets the hwdec and DR // interfaces. - // Note: at least mpv_opengl_cb_uninit_gl() relies on being able to get - // rid of all references to the VO by destroying the VO chain. Thus, - // decoders not linked to vo_chain must not use the hwdec context. + // Note: We rely on being able to get rid of all references to the VO by + // destroying the VO chain. Thus, decoders not linked to vo_chain + // must not use the hwdec context. if (track->vo_c) parent = track->vo_c->filter->f; |