Mercurial > mplayer.hg
diff libvo/vo_fbdev.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 | e956fa7f79c7 |
children | c35d7ce151b3 |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Fri Feb 08 23:03:38 2002 +0000 +++ b/libvo/vo_fbdev.c Sat Feb 09 00:47:26 2002 +0000 @@ -1339,7 +1339,11 @@ if(!pre_init_err) return (pre_init_err=(fb_preinit()?0:-1)); } -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; }