From 9242c34fa26aafb09a9973a5175c281233a13bdc Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 20:03:36 +0100 Subject: m_option: add mp_log callback to OPT_STRING_VALIDATE options And also convert a bunch of other code, especially ao_wasapi and ao_portaudio. --- video/out/gl_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/gl_common.h') diff --git a/video/out/gl_common.h b/video/out/gl_common.h index 45ff9a0110..f678dbf12a 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -157,8 +157,8 @@ bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, uint32_t d_width, int mpgl_find_backend(const char *name); struct m_option; -int mpgl_validate_backend_opt(const struct m_option *opt, struct bstr name, - struct bstr param); +int mpgl_validate_backend_opt(struct mp_log *log, const struct m_option *opt, + struct bstr name, struct bstr param); void mpgl_set_backend_cocoa(MPGLContext *ctx); void mpgl_set_backend_w32(MPGLContext *ctx); -- cgit v1.2.3