tools: gst-play: Use g_build_filename instead of g_strconcat
authorVivia Nikolaidou <vivia@ahiru.eu>
Tue, 18 Aug 2015 10:50:17 +0000 (13:50 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 18 Aug 2015 12:19:03 +0000 (15:19 +0300)
commitcca823b490e007a278335374163bb73604910c4f
tree74417b3c9330020a1b9bbed6dbdb1bebd80a6427
parenta3b24f0241bd55a005a072ba8ddcd53e0fdbf827
tools: gst-play: Use g_build_filename instead of g_strconcat

When running gst-play against a directory name, and suffix the path with a
directory separator (e.g. tab completion), gst-play was printing two directory
separators in a row. g_build_filename fixes this, and additionally allows for
both '/' and '\' as separators on Windows.
tools/gst-play.c