From 60d27c02edd2d552ebfddbda554fb5839cee7e4a Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 28 Jul 2002 21:30:09 +0000 Subject: ... removed from vf's control(), sing struct for equalizer. based on patch by Jindrich Makovicka git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6833 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libmpcodecs/vf.h') diff --git a/libmpcodecs/vf.h b/libmpcodecs/vf.h index bca3451c1c..a8a2f5232f 100644 --- a/libmpcodecs/vf.h +++ b/libmpcodecs/vf.h @@ -24,7 +24,7 @@ typedef struct vf_instance_s { int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt); int (*control)(struct vf_instance_s* vf, - int request, void* data, ...); + int request, void* data); int (*query_format)(struct vf_instance_s* vf, unsigned int fmt); void (*get_image)(struct vf_instance_s* vf, @@ -46,6 +46,12 @@ typedef struct vf_instance_s { // control codes: #include "mpc_info.h" +typedef struct vf_seteq_s +{ + char *item; + int value; +} vf_equalizer_t; + #define VFCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */ #define VFCTRL_SET_PP_LEVEL 5 /* set postprocessing level */ #define VFCTRL_SET_EQUALIZER 6 /* set color options (brightness,contrast etc) */ -- cgit v1.2.3