diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-09-04 20:58:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-09-04 20:58:39 +0000 |
commit | 7c9f08790680b1386a65c5922eaec062dd4b55ff (patch) | |
tree | 21d0ef7ee659955a44f0d4445c896aa8173f9be4 | |
parent | dbaad99eb2c7b5fd8615306bef5511974fb68144 (diff) |
Support equalizer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16389 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_cvidix.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libvo/vo_cvidix.c b/libvo/vo_cvidix.c index 0baef76f74..fea52ca3ec 100644 --- a/libvo/vo_cvidix.c +++ b/libvo/vo_cvidix.c @@ -165,6 +165,24 @@ static int control(uint32_t request, void *data, ...){ else vo_fs=1; setup_vidix(); return VO_TRUE; + case VOCTRL_SET_EQUALIZER: + { + va_list ap; + int value; + va_start(ap, data); + value = va_arg(ap, int); + va_end(ap); + return vidix_control(request, data, (int *) value); + } + case VOCTRL_GET_EQUALIZER: + { + va_list ap; + int *value; + va_start(ap, data); + value = va_arg(ap, int *); + va_end(ap); + return vidix_control(request, data, value); + } } return vidix_control(request, data); } |