summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf.c2
-rw-r--r--video/out/vo.c2
-rw-r--r--video/out/vo_opengl.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index c2d4be6e63..13d1026b74 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -237,7 +237,7 @@ static struct vf_instance *vf_open(struct vf_chain *c, const char *name,
.query_format = vf_default_query_format,
.out_pool = talloc_steal(vf, mp_image_pool_new(16)),
};
- struct m_config *config = m_config_from_obj_desc(vf, &desc);
+ struct m_config *config = m_config_from_obj_desc(vf, vf->log, &desc);
if (m_config_apply_defaults(config, name, c->opts->vf_defs) < 0)
goto error;
if (m_config_set_obj_params(config, args) < 0)
diff --git a/video/out/vo.c b/video/out/vo.c
index c66478bc6d..0222770131 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -171,7 +171,7 @@ static struct vo *vo_create(struct mpv_global *global,
};
if (vo->driver->encode != !!vo->encode_lavc_ctx)
goto error;
- struct m_config *config = m_config_from_obj_desc(vo, &desc);
+ struct m_config *config = m_config_from_obj_desc(vo, vo->log, &desc);
if (m_config_apply_defaults(config, name, vo->opts->vo_defs) < 0)
goto error;
if (m_config_set_obj_params(config, args) < 0)
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index dea9f28266..8fea170a55 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -274,7 +274,8 @@ static bool reparse_cmdline(struct gl_priv *p, char *args)
const struct gl_priv *vodef = p->vo->driver->priv_defaults;
const struct gl_video_opts *def =
vodef ? vodef->renderer_opts : gl_video_conf.defaults;
- cfg = m_config_new(NULL, sizeof(*opts), def, gl_video_conf.opts);
+ cfg = m_config_new(NULL, p->vo->log, sizeof(*opts), def,
+ gl_video_conf.opts);
opts = cfg->optstruct;
r = m_config_parse_suboptions(cfg, "opengl", args);
}