Commit 595427c2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Put snapshots to pictures directory

parent c67b22e4
...@@ -193,7 +193,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -193,7 +193,7 @@ static int Create( vlc_object_t *p_this )
p_sys->psz_prefix = var_CreateGetString( p_this, CFG_PREFIX "prefix" ); p_sys->psz_prefix = var_CreateGetString( p_this, CFG_PREFIX "prefix" );
p_sys->psz_path = var_GetNonEmptyString( p_this, CFG_PREFIX "path" ); p_sys->psz_path = var_GetNonEmptyString( p_this, CFG_PREFIX "path" );
if( p_sys->psz_path == NULL ) if( p_sys->psz_path == NULL )
p_sys->psz_path = config_GetUserDir( VLC_HOME_DIR ); p_sys->psz_path = config_GetUserDir( VLC_PICTURES_DIR );
p_filter->pf_video_filter = Filter; p_filter->pf_video_filter = Filter;
......
...@@ -131,7 +131,7 @@ void vout_snapshot_Set(vout_snapshot_t *snap, ...@@ -131,7 +131,7 @@ void vout_snapshot_Set(vout_snapshot_t *snap,
/* */ /* */
char *vout_snapshot_GetDirectory(void) char *vout_snapshot_GetDirectory(void)
{ {
return config_GetUserDir(VLC_HOME_DIR); return config_GetUserDir(VLC_PICTURES_DIR);
} }
/* */ /* */
int vout_snapshot_SaveImage(char **name, int *sequential, int vout_snapshot_SaveImage(char **name, int *sequential,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment