summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_dsize.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_dsize.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_dsize.c')
-rw-r--r--video/filter/vf_dsize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_dsize.c b/video/filter/vf_dsize.c
index be8b73133d..fd65d46388 100644
--- a/video/filter/vf_dsize.c
+++ b/video/filter/vf_dsize.c
@@ -78,7 +78,7 @@ static int config(struct vf_instance *vf,
return vf_next_config(vf, width, height, d_width, d_height, flags, outfmt);
}
-static int vf_open(vf_instance_t *vf, char *args)
+static int vf_open(vf_instance_t *vf)
{
vf->config = config;
return 1;