diff options
Diffstat (limited to 'libvo/vo_mga.c')
-rw-r--r-- | libvo/vo_mga.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libvo/vo_mga.c b/libvo/vo_mga.c index 6085b09c23..a3836b1002 100644 --- a/libvo/vo_mga.c +++ b/libvo/vo_mga.c @@ -151,7 +151,11 @@ static uint32_t preinit(const char *arg) return 0; } -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; } |