summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_screenshot.c')
-rw-r--r--video/filter/vf_screenshot.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/video/filter/vf_screenshot.c b/video/filter/vf_screenshot.c
index 308c43c3b8..d0e98f07b8 100644
--- a/video/filter/vf_screenshot.c
+++ b/video/filter/vf_screenshot.c
@@ -36,14 +36,6 @@ struct vf_priv_s {
struct mp_image *current;
};
-static int config(struct vf_instance *vf,
- int width, int height, int d_width, int d_height,
- unsigned int flags, unsigned int outfmt)
-{
- mp_image_unrefp(&vf->priv->current);
- return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
-}
-
static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi)
{
mp_image_unrefp(&vf->priv->current);
@@ -70,7 +62,6 @@ static int query_format(struct vf_instance *vf, unsigned int fmt)
static int vf_open(vf_instance_t *vf)
{
- vf->config = config;
vf->control = control;
vf->filter = filter;
vf->query_format = query_format;