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