From b5ed6148394062fbc8ac101bd1efe918470ac585 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 23 Nov 2013 21:34:24 +0100 Subject: options: implement --pphelp differently Make it work via --vf=pp:help instead. --- video/filter/vf_pp.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'video/filter/vf_pp.c') diff --git a/video/filter/vf_pp.c b/video/filter/vf_pp.c index 68ec22bd22..32ec088e0c 100644 --- a/video/filter/vf_pp.c +++ b/video/filter/vf_pp.c @@ -153,10 +153,16 @@ static int vf_open(vf_instance_t *vf, char *args){ return 1; } +static void print_help(void) +{ + mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", pp_help); +} + const vf_info_t vf_info_pp = { .description = "postprocessing", .name = "pp", .open = vf_open, + .print_help = print_help, }; //===========================================================================// -- cgit v1.2.3