summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_pp.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 20:04:49 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:43:16 +0100
commit7bdee8f35ed0aa19c83377b7c264c51696f9653f (patch)
tree4051e8ed31372cc8410efb55b183aa48a07af682 /video/filter/vf_pp.c
parent9242c34fa26aafb09a9973a5175c281233a13bdc (diff)
downloadmpv-7bdee8f35ed0aa19c83377b7c264c51696f9653f.tar.bz2
mpv-7bdee8f35ed0aa19c83377b7c264c51696f9653f.tar.xz
m_option: add mp_log context to sub-module print_help callback
Diffstat (limited to 'video/filter/vf_pp.c')
-rw-r--r--video/filter/vf_pp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/filter/vf_pp.c b/video/filter/vf_pp.c
index 111ab798ef..bf1a513474 100644
--- a/video/filter/vf_pp.c
+++ b/video/filter/vf_pp.c
@@ -133,10 +133,10 @@ static int vf_open(vf_instance_t *vf){
return 1;
}
-static void print_help(void)
+static void print_help(struct mp_log *log)
{
- mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", pp_help);
- mp_msg(MSGT_CFGPARSER, MSGL_INFO,
+ mp_info(log, "%s", pp_help);
+ mp_info(log,
"Don't forget to quote the filter list, e.g.: '--vf=pp=[tn:64:128:256]'\n\n");
}