summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_pp.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-23 21:34:24 +0100
committerwm4 <wm4@nowhere>2013-11-23 21:34:24 +0100
commitb5ed6148394062fbc8ac101bd1efe918470ac585 (patch)
treef00049139819306ab48aae062592a499f1b15fe4 /video/filter/vf_pp.c
parent25855059af0778c99f7eefeae64c007ed6efe1bb (diff)
downloadmpv-b5ed6148394062fbc8ac101bd1efe918470ac585.tar.bz2
mpv-b5ed6148394062fbc8ac101bd1efe918470ac585.tar.xz
options: implement --pphelp differently
Make it work via --vf=pp:help instead.
Diffstat (limited to 'video/filter/vf_pp.c')
-rw-r--r--video/filter/vf_pp.c6
1 files changed, 6 insertions, 0 deletions
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,
};
//===========================================================================//