diff options
-rw-r--r-- | libvo/vo_fbdev.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index be694b91fd..79e8fccbce 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -1150,5 +1150,35 @@ static uint32_t control(uint32_t request, void *data, ...) case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data)); } + +#ifdef CONFIG_VIDIX + if (vidix_name) { + switch (request) { + 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); + } + } + } +#endif + return VO_NOTIMPL; } |