summaryrefslogtreecommitdiffstats
path: root/video/out/libmpv.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2018-05-01 16:39:00 +0200
committerJan Ekström <jeebjp@gmail.com>2018-06-12 01:51:01 +0300
commit20dffe0621b3e26674850ef0b46ba3e689931d87 (patch)
tree9ba5a45f6b89d2ec8c6f9f6fadb9b19a1b2564e7 /video/out/libmpv.h
parentf66ee85fdf39a1f085f5564bee427524c749aaca (diff)
downloadmpv-20dffe0621b3e26674850ef0b46ba3e689931d87.tar.bz2
mpv-20dffe0621b3e26674850ef0b46ba3e689931d87.tar.xz
vo_libmpv: pass vo struct to the control callback
Diffstat (limited to 'video/out/libmpv.h')
-rw-r--r--video/out/libmpv.h2
1 files changed, 1 insertions, 1 deletions
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,