diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-09 00:47:26 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-09 00:47:26 +0000 |
commit | 7c51652a1ba60b6a102eae0c76562234e30d83be (patch) | |
tree | dd6402878602d5b9703fc573564d689e300ef2f6 /libvo/vo_xv.c | |
parent | 73fb8576e423b1c555cf1fcf8898168cff6f9294 (diff) | |
download | mpv-7c51652a1ba60b6a102eae0c76562234e30d83be.tar.bz2 mpv-7c51652a1ba60b6a102eae0c76562234e30d83be.tar.xz |
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_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 6ae2b630f8..f634781952 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -770,3 +770,15 @@ static void query_vaa(vo_vaa_t *vaa) vaa->get_video_eq = xv_get_video_eq; vaa->set_video_eq = xv_set_video_eq; } + +uint32_t control(uint32_t request, void *data, ...) +{ + switch (request) { + case VOCTRL_QUERY_VAA: + query_vaa((vo_vaa_t*)data); + return VO_TRUE; + case VOCTRL_QUERY_FORMAT: + return query_format(*((uint32_t*)data)); + } + return VO_NOTIMPL; +} |