summaryrefslogtreecommitdiff
path: root/tools/gst-play.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gst-play.c')
-rw-r--r--tools/gst-play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gst-play.c b/tools/gst-play.c
index bbcde1107..15c9aa26d 100644
--- a/tools/gst-play.c
+++ b/tools/gst-play.c
@@ -641,7 +641,7 @@ add_to_playlist (GPtrArray * playlist, const gchar * filename)
while ((entry = g_dir_read_name (dir))) {
gchar *path;
- path = g_strconcat (filename, G_DIR_SEPARATOR_S, entry, NULL);
+ path = g_build_filename (filename, entry, NULL);
files = g_list_insert_sorted (files, path, compare);
}