Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4591:8324cc7c352a | 4592:5fbfd8545c3b |
---|---|
826 static uint32_t preinit(const char *arg) | 826 static uint32_t preinit(const char *arg) |
827 { | 827 { |
828 return 0; | 828 return 0; |
829 } | 829 } |
830 | 830 |
831 static void query_vaa(vo_vaa_t *vaa) | 831 uint32_t control(uint32_t request, void *data, ...) |
832 { | 832 { |
833 memset(vaa,0,sizeof(vo_vaa_t)); | 833 switch (request) { |
834 } | 834 case VOCTRL_QUERY_FORMAT: |
835 return query_format(*((uint32_t*)data)); | |
836 } | |
837 return VO_NOTIMPL; | |
838 } |