diff options
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r-- | libvo/vo_sdl.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 44787f71b0..eb0abc5c7d 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1326,7 +1326,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; } |