Put snapshots to pictures directory
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 21:57:46 +0000 (00:57 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 22:00:44 +0000 (01:00 +0300)
modules/video_filter/scene.c
src/video_output/snapshot.c

index 6a0d658..ac9334a 100644 (file)
@@ -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_path = var_GetNonEmptyString( p_this, CFG_PREFIX "path" );
     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;
 
index 1866cfd..6b666c3 100644 (file)
@@ -131,7 +131,7 @@ void vout_snapshot_Set(vout_snapshot_t *snap,
 /* */
 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,