summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_format.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_format.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_format.c')
-rw-r--r--video/filter/vf_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_format.c b/video/filter/vf_format.c
index 1ddbc079bd..e673fd8f60 100644
--- a/video/filter/vf_format.c
+++ b/video/filter/vf_format.c
@@ -63,7 +63,7 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi)
return mpi;
}
-static int vf_open(vf_instance_t *vf, char *args){
+static int vf_open(vf_instance_t *vf){
vf->query_format=query_format;
if (vf->priv->outfmt) {
vf->config=config;