Mercurial > mplayer.hg
comparison libvo/vo_dga.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 | 682af066d7bf |
children | c35d7ce151b3 |
comparison
equal
deleted
inserted
replaced
4591:8324cc7c352a | 4592:5fbfd8545c3b |
---|---|
21 * BGR_32_24_888 | 21 * BGR_32_24_888 |
22 * | 22 * |
23 * - works only on x86 architectures | 23 * - works only on x86 architectures |
24 * | 24 * |
25 * $Log$ | 25 * $Log$ |
26 * Revision 1.40 2002/02/09 00:47:26 arpi | |
27 * query_ stuff replaced by new control() - patch by David Holm | |
28 * | |
26 * Revision 1.39 2002/01/31 11:45:25 alex | 29 * Revision 1.39 2002/01/31 11:45:25 alex |
27 * removed obsoleted Terminate_Display_Process | 30 * removed obsoleted Terminate_Display_Process |
28 * | 31 * |
29 * Revision 1.38 2002/01/31 09:52:45 nick | 32 * Revision 1.38 2002/01/31 09:52:45 nick |
30 * new info for tuning | 33 * new info for tuning |
1174 static uint32_t preinit(const char *arg) | 1177 static uint32_t preinit(const char *arg) |
1175 { | 1178 { |
1176 return 0; | 1179 return 0; |
1177 } | 1180 } |
1178 | 1181 |
1179 static void query_vaa(vo_vaa_t *vaa) | 1182 uint32_t control(uint32_t request, void *data, ...) |
1180 { | 1183 { |
1181 memset(vaa,0,sizeof(vo_vaa_t)); | 1184 switch (request) { |
1185 case VOCTRL_QUERY_FORMAT: | |
1186 return query_format(*((uint32_t*)data)); | |
1187 } | |
1188 return VO_NOTIMPL; | |
1182 } | 1189 } |
1183 | 1190 |
1184 //--------------------------------------------------------- | 1191 //--------------------------------------------------------- |
1185 | 1192 |
1186 // deleted the old vo_dga_query_event() routine 'cause it is obsolete | 1193 // deleted the old vo_dga_query_event() routine 'cause it is obsolete |