Quote ffprobe path on OS X.
authorCarl Hetherington <cth@carlh.net>
Wed, 14 Oct 2015 14:41:41 +0000 (15:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 14 Oct 2015 14:41:41 +0000 (15:41 +0100)
src/lib/cross.cc

index 9ca3fe2b09b250e54602dd96192e77d0cc3a8268..02cdfd444d81b0598a5875ac074169683ff5b12a 100644 (file)
@@ -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