p_sys->psz_config = var_InheritString( p_filter, "projectm-config" );
#else
p_sys->psz_preset_path = var_InheritString( p_filter, "projectm-preset-path" );
- p_sys->psz_preset_path = var_InheritString( p_filter, "projectm-title-font" );
- p_sys->psz_preset_path = var_InheritString( p_filter, "projectm-menu-font" );
+ p_sys->psz_title_font = var_InheritString( p_filter, "projectm-title-font" );
+ p_sys->psz_menu_font = var_InheritString( p_filter, "projectm-menu-font" );
#endif
vlc_mutex_init( &p_sys->lock );
p_sys->p_buffer = NULL;
if( !p_sys->p_vout )
goto error;
+ vlc_object_attach( p_sys->p_vout, p_filter );
+
/* */
video_format_Init( &fmt, 0 );
video_format_Setup( &fmt, VLC_CODEC_RGB32,