diff options
author | 2002-02-09 00:47:26 +0000 | |
---|---|---|
committer | 2002-02-09 00:47:26 +0000 | |
commit | 7c51652a1ba60b6a102eae0c76562234e30d83be (patch) | |
tree | dd6402878602d5b9703fc573564d689e300ef2f6 /libvo/vo_directfb.c | |
parent | 73fb8576e423b1c555cf1fcf8898168cff6f9294 (diff) |
query_ stuff replaced by new control() - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directfb.c')
-rw-r--r-- | libvo/vo_directfb.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libvo/vo_directfb.c b/libvo/vo_directfb.c index 3f8ab4b997..043e4481d9 100644 --- a/libvo/vo_directfb.c +++ b/libvo/vo_directfb.c @@ -888,7 +888,11 @@ static void uninit(void) } -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; } |