#include <vlc_aout.h>
#include <vlc_vout.h>
#include <vlc_vout_wrapper.h>
+#include <vlc_opengl.h>
#include <vlc_filter.h>
#include <vlc_rand.h>
filter_sys_t *p_sys = p_filter->p_sys;
int cancel = vlc_savecancel();
video_format_t fmt;
- vout_opengl_t *gl;
+ vlc_gl_t *gl;
int i_last_width = 0;
int i_last_height = 0;
locale_t loc;
if ( psz_preset_path == NULL )
{
char *psz_data_path = config_GetDataDir( p_filter );
- asprintf( &psz_preset_path, "%s" DIR_SEP "visualisation", psz_data_path );
+ asprintf( &psz_preset_path, "%s" DIR_SEP "visualization", psz_data_path );
free( psz_data_path );
}
#endif
/* */
mwait( i_deadline );
- if( !vout_opengl_Lock(gl) )
+ if( !vlc_gl_Lock(gl) )
{
- vout_opengl_Swap( gl );
- vout_opengl_Unlock( gl );
+ vlc_gl_Swap( gl );
+ vlc_gl_Unlock( gl );
}
}
abort();