diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:03:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:16 +0100 |
commit | 9242c34fa26aafb09a9973a5175c281233a13bdc (patch) | |
tree | c94bf638a38ce29c8c6e37c9c6167968e8d3cc34 /video/out/gl_common.h | |
parent | d8d42b44fc717c695af59c14213d54885088ea37 (diff) | |
download | mpv-9242c34fa26aafb09a9973a5175c281233a13bdc.tar.bz2 mpv-9242c34fa26aafb09a9973a5175c281233a13bdc.tar.xz |
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.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r-- | video/out/gl_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |