diff options
author | wm4 <wm4@nowhere> | 2015-12-19 17:55:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-19 18:35:58 +0100 |
commit | 1f7c099dc0feb9a160d9018ad6ad068e0295341a (patch) | |
tree | fb46a991dc1cb41136d4ffab0f08f6308c9abcd6 /video/filter/vf.h | |
parent | 78bfee53dd32bdc70af9294b11a04722a42b10c2 (diff) | |
download | mpv-1f7c099dc0feb9a160d9018ad6ad068e0295341a.tar.bz2 mpv-1f7c099dc0feb9a160d9018ad6ad068e0295341a.tar.xz |
vf: remove old config() callback
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r-- | video/filter/vf.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h index 62734c99cf..2bca682fbc 100644 --- a/video/filter/vf.h +++ b/video/filter/vf.h @@ -51,11 +51,6 @@ typedef struct vf_instance { int (*reconfig)(struct vf_instance *vf, struct mp_image_params *in, struct mp_image_params *out); - // Legacy variant, use reconfig instead. - int (*config)(struct vf_instance *vf, - int width, int height, int d_width, int d_height, - unsigned int flags, unsigned int outfmt); - int (*control)(struct vf_instance *vf, int request, void *data); int (*query_format)(struct vf_instance *vf, unsigned int fmt); @@ -177,12 +172,8 @@ bool vf_make_out_image_writeable(struct vf_instance *vf, struct mp_image *img); void vf_add_output_frame(struct vf_instance *vf, struct mp_image *img); // default wrappers: -int vf_next_config(struct vf_instance *vf, - int width, int height, int d_width, int d_height, - unsigned int flags, unsigned int outfmt); int vf_next_query_format(struct vf_instance *vf, unsigned int fmt); - // Helpers void vf_rescale_dsize(int *d_width, int *d_height, int old_w, int old_h, |