summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-24 01:45:11 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-24 01:45:11 +0100
commit68b46a970895711694177c26aa4954cf1e23959c (patch)
tree2d4adfd46eca100c93bd75646830ae7b69319657 /src/lib
parentb8216704a7f564753cfcc497cf73ea89c0a865c4 (diff)
Quote ffprobe path.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index e3efda450..041bbc225 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -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