From d8d42b44fc717c695af59c14213d54885088ea37 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 19:45:42 +0100 Subject: m_option, m_config: mp_msg conversions Always pass around mp_log contexts in the option parser code. This of course affects all users of this API as well. In stream.c, pass a mp_null_log, because we can't do it properly yet. This will be fixed later. --- video/filter/vf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/filter') 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) -- cgit v1.2.3