summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_gradfun.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-04 00:01:38 +0100
committerwm4 <wm4@nowhere>2013-12-04 00:07:40 +0100
commit437ecc5cad9d31899a0b0bf3e9c696bc61586621 (patch)
tree2658f50f9b0682d91aca34bec69c5132f549659e /video/filter/vf_gradfun.c
parent079e0e796350a3df64c03619b7593e1d934bf321 (diff)
downloadmpv-437ecc5cad9d31899a0b0bf3e9c696bc61586621.tar.bz2
mpv-437ecc5cad9d31899a0b0bf3e9c696bc61586621.tar.xz
video/filter: remove legacy option handling hacks
All filters now either use the generic option parser, or don't have options. This finally finishes a transition started in 2003 (see git commit 33b62af94760186c). Why are MPlayer devs so monumentally lazy? Sorry, but this takes the cake. You had 10 years.
Diffstat (limited to 'video/filter/vf_gradfun.c')
-rw-r--r--video/filter/vf_gradfun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_gradfun.c b/video/filter/vf_gradfun.c
index 28916e7871..39dd050002 100644
--- a/video/filter/vf_gradfun.c
+++ b/video/filter/vf_gradfun.c
@@ -368,7 +368,7 @@ static void lavfi_recreate(struct vf_instance *vf)
vf_lw_update_graph(vf, "gradfun", "%f:%d", p->cfg_thresh, p->radius);
}
-static int vf_open(vf_instance_t *vf, char *args)
+static int vf_open(vf_instance_t *vf)
{
vf->filter=filter;
vf->query_format=query_format;