From bddcf0be1cc583aebd30e477748284d2a862a3f7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Oct 2015 15:41:41 +0100 Subject: Quote ffprobe path on OS X. --- src/lib/cross.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 9ca3fe2b0..02cdfd444 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -252,7 +252,7 @@ run_ffprobe (boost::filesystem::path content, boost::filesystem::path out, share path /= "MacOS"; path /= "ffprobe"; - string ffprobe = path.string() + " \"" + content.string() + "\" 2> \"" + out.string() + "\""; + string ffprobe = "\"" + path.string() + "\" \"" + content.string() + "\" 2> \"" + out.string() + "\""; LOG_GENERAL (N_("Probing with %1"), ffprobe); system (ffprobe.c_str ()); #endif -- cgit v1.2.3