Mercurial > mplayer.hg
diff libvo/vo_tdfxfb.c @ 4592:5fbfd8545c3b
query_ stuff replaced by new control() - patch by David Holm
author | arpi |
---|---|
date | Sat, 09 Feb 2002 00:47:26 +0000 |
parents | df8e0f71cc3c |
children | c35d7ce151b3 |
line wrap: on
line diff
--- a/libvo/vo_tdfxfb.c Fri Feb 08 23:03:38 2002 +0000 +++ b/libvo/vo_tdfxfb.c Sat Feb 09 00:47:26 2002 +0000 @@ -828,7 +828,11 @@ 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; }