p_sys->psz_prefix = var_CreateGetString( p_this, CFG_PREFIX "prefix" );
p_sys->psz_path = var_GetNonEmptyString( p_this, CFG_PREFIX "path" );
if( p_sys->psz_path == NULL )
- {
- const char *psz_homedir = config_GetHomeDir();
- if( psz_homedir )
- p_sys->psz_path = strdup( psz_homedir );
- }
+ p_sys->psz_path = config_GetUserDir( VLC_HOME_DIR );
p_filter->pf_video_filter = Filter;