Quote ffprobe path.
authorCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2013 00:45:11 +0000 (01:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2013 00:45:11 +0000 (01:45 +0100)
src/lib/film.cc

index e3efda450b6e07349d253838d3840dddc42f5ac9..041bbc22503c624c447a0ed4e5eca3ecad16849c 100644 (file)
@@ -1005,7 +1005,7 @@ Film::set_content (string c)
        boost::filesystem::path path_dir (dir);
        path_dir = path_dir.parent_path ();
        path_dir /= "ffprobe.exe";
-       string ffprobe = path_dir.string ();
+       string ffprobe = "\"" + path_dir.string () + "\" ";
 #else
        string ffprobe = "ffprobe ";
 #endif