summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index c4a7c4316..a881e957a 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -1004,8 +1004,8 @@ Film::set_content (string c)
#else
string ffprobe = "ffprobe ";
#endif
- ffprobe += c;
- ffprobe += " 2> " + file ("ffprobe.log");
+ ffprobe += "\"" + c + "\"";
+ ffprobe += " 2> \"" + file ("ffprobe.log") + "\"";
log()->log (String::compose ("Probing with %1", ffprobe));
system (ffprobe.c_str ());
}