diff options
author | wm4 <wm4@nowhere> | 2013-12-21 17:51:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:10 +0100 |
commit | c8268701d9a4c5ff38b48f0e6b689f6dade4de42 (patch) | |
tree | 05d8a24ffc867f977a2178f5940d5723d82926bd /video/out/gl_lcms.c | |
parent | 2eefa31c886723bcc30664ea9fe3e2420f2cc0c6 (diff) | |
download | mpv-c8268701d9a4c5ff38b48f0e6b689f6dade4de42.tar.bz2 mpv-c8268701d9a4c5ff38b48f0e6b689f6dade4de42.tar.xz |
video/out: pass along global context
Will be needed for other parts (especially in gl_lcms.c).
Diffstat (limited to 'video/out/gl_lcms.c')
-rw-r--r-- | video/out/gl_lcms.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/video/out/gl_lcms.c b/video/out/gl_lcms.c index f6d01948e8..84ef2d3f68 100644 --- a/video/out/gl_lcms.c +++ b/video/out/gl_lcms.c @@ -103,7 +103,8 @@ static struct bstr load_file(void *talloc_ctx, const char *filename) #define LUT3D_CACHE_HEADER "mpv 3dlut cache 1.0\n" -struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log) +struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log, + struct mpv_global *global) { int s_r, s_g, s_b; if (!parse_3dlut_size(opts->size_str, &s_r, &s_g, &s_b)) @@ -223,7 +224,8 @@ const struct m_sub_options mp_icc_conf = { .defaults = &(const struct mp_icc_opts) {0}, }; -struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log) +struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log, + struct mpv_global *global) { mp_msg_log(log, MSGL_FATAL, "LCMS2 support not compiled.\n"); return NULL; |