From 20dffe0621b3e26674850ef0b46ba3e689931d87 Mon Sep 17 00:00:00 2001 From: Akemi Date: Tue, 1 May 2018 16:39:00 +0200 Subject: vo_libmpv: pass vo struct to the control callback --- video/out/libmpv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/libmpv.h') diff --git a/video/out/libmpv.h b/video/out/libmpv.h index dc9d523b23..2fe33386f4 100644 --- a/video/out/libmpv.h +++ b/video/out/libmpv.h @@ -15,7 +15,7 @@ void *get_mpv_render_param(mpv_render_param *params, mpv_render_param_type type, #define GET_MPV_RENDER_PARAM(params, type, ctype, def) \ (*(ctype *)get_mpv_render_param(params, type, &(ctype){(def)})) -typedef int (*mp_render_cb_control_fn)(void *cb_ctx, int *events, +typedef int (*mp_render_cb_control_fn)(struct vo *vo, void *cb_ctx, int *events, uint32_t request, void *data); void mp_render_context_set_control_callback(mpv_render_context *ctx, mp_render_cb_control_fn callback, -- cgit v1.2.3