summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_softpulldown.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-05 22:56:43 +0100
committerwm4 <wm4@nowhere>2013-12-05 22:58:54 +0100
commit2d0a9c7af081f90d21cc811871bd67bbb6dcfd94 (patch)
tree24cadd837876bccd6c477a17dc81288671ed0392 /video/filter/vf_softpulldown.c
parent66e20ef8ad0c3e3ce420f08fa7849000a4cc060a (diff)
downloadmpv-2d0a9c7af081f90d21cc811871bd67bbb6dcfd94.tar.bz2
mpv-2d0a9c7af081f90d21cc811871bd67bbb6dcfd94.tar.xz
video/filter: remove unneeded config callbacks
They didn't do anything. vf_screenshot.c actually did release the previous image, but that's not really required. At worst you could take a screenshot and get an old frame when there's no new frame yet.
Diffstat (limited to 'video/filter/vf_softpulldown.c')
-rw-r--r--video/filter/vf_softpulldown.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/video/filter/vf_softpulldown.c b/video/filter/vf_softpulldown.c
index 3f50de0991..4ad0e66552 100644
--- a/video/filter/vf_softpulldown.c
+++ b/video/filter/vf_softpulldown.c
@@ -116,13 +116,6 @@ static int filter(struct vf_instance *vf, struct mp_image *mpi)
return 0;
}
-static int config(struct vf_instance *vf,
- int width, int height, int d_width, int d_height,
- unsigned int flags, unsigned int outfmt)
-{
- return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
-}
-
static int control(vf_instance_t *vf, int request, void *data)
{
switch (request) {
@@ -151,7 +144,6 @@ static int query_format(struct vf_instance *vf, unsigned int fmt)
static int vf_open(vf_instance_t *vf)
{
- vf->config = config;
vf->filter_ext = filter;
vf->control = control;
vf->uninit = uninit;