diff options
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r-- | libvo/vo_vesa.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 6026e25254..d27a18b9f9 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -944,7 +944,11 @@ static uint32_t preinit(const char *arg) return pre_init_err; } -static void query_vaa(vo_vaa_t *vaa) +uint32_t control(uint32_t request, void *data, ...) { - memset(vaa,0,sizeof(vo_vaa_t)); + switch (request) { + case VOCTRL_QUERY_FORMAT: + return query_format(*((uint32_t*)data)); + } + return VO_NOTIMPL; } |