summaryrefslogtreecommitdiff
path: root/gst/gstpreset.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstpreset.c')
-rw-r--r--gst/gstpreset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstpreset.c b/gst/gstpreset.c
index d56606573..99a5755f4 100644
--- a/gst/gstpreset.c
+++ b/gst/gstpreset.c
@@ -141,9 +141,9 @@ preset_get_paths (GstPreset * preset, const gchar ** preset_user_path,
if (!(preset_path = g_type_get_qdata (type, preset_user_path_quark))) {
gchar *preset_dir;
- /* user presets go in '$HOME/.gstreamer-0.10/presets/GstSimSyn.prs' */
- preset_dir = g_build_filename (g_get_home_dir (),
- ".gstreamer-" GST_MAJORMINOR, "presets", NULL);
+ /* user presets go in user's XDG data directory. */
+ preset_dir = g_build_filename (g_get_user_data_dir (),
+ "gstreamer-" GST_MAJORMINOR, "presets", NULL);
GST_INFO_OBJECT (preset, "user_preset_dir: '%s'", preset_dir);
preset_path =
g_strdup_printf ("%s" G_DIR_SEPARATOR_S "%s.prs", preset_dir,