comparison libvo/video_out.h @ 25219:e82ecde2cbd4

Mark several uses of vo_functions_t as const to stop some of the current hacks e.g. in vidix code from spreading.
author reimar
date Sun, 02 Dec 2007 14:24:23 +0000
parents 3aee342be929
children 3baf6a2283da
comparison
equal deleted inserted replaced
25218:9e7ecd4c60c1 25219:e82ecde2cbd4
174 */ 174 */
175 void (*uninit)(void); 175 void (*uninit)(void);
176 176
177 } vo_functions_t; 177 } vo_functions_t;
178 178
179 vo_functions_t* init_best_video_out(char** vo_list); 179 const vo_functions_t* init_best_video_out(char** vo_list);
180 int config_video_out(vo_functions_t *vo, uint32_t width, uint32_t height, 180 int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height,
181 uint32_t d_width, uint32_t d_height, uint32_t flags, 181 uint32_t d_width, uint32_t d_height, uint32_t flags,
182 char *title, uint32_t format); 182 char *title, uint32_t format);
183 void list_video_out(void); 183 void list_video_out(void);
184 184
185 // NULL terminated array of all drivers 185 // NULL terminated array of all drivers
186 extern vo_functions_t* video_out_drivers[]; 186 extern const vo_functions_t* const video_out_drivers[];
187 187
188 extern int vo_flags; 188 extern int vo_flags;
189 189
190 extern int vo_config_count; 190 extern int vo_config_count;
191 191