[vlc-devel] commit: Put snapshots to pictures directory ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 26 00:00:56 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 26 00:57:46 2009 +0300| [595427c20f088980243e1282f9259b776afe8841] | committer: Rémi Denis-Courmont 

Put snapshots to pictures directory

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=595427c20f088980243e1282f9259b776afe8841
---

 modules/video_filter/scene.c |    2 +-
 src/video_output/snapshot.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/scene.c b/modules/video_filter/scene.c
index 6a0d658..ac9334a 100644
--- a/modules/video_filter/scene.c
+++ b/modules/video_filter/scene.c
@@ -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;
 
diff --git a/src/video_output/snapshot.c b/src/video_output/snapshot.c
index 1866cfd..6b666c3 100644
--- a/src/video_output/snapshot.c
+++ b/src/video_output/snapshot.c
@@ -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,




More information about the vlc-devel mailing list