From: Carl Hetherington Date: Wed, 14 Oct 2015 14:41:41 +0000 (+0100) Subject: Quote ffprobe path on OS X. X-Git-Tag: v2.4.12~9 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=bddcf0be1cc583aebd30e477748284d2a862a3f7;p=dcpomatic.git Quote ffprobe path on OS X. --- 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