diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-24 01:09:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-24 01:09:54 +0100 |
| commit | 154d5fc4b28394ffcc0e12a680b0a24107d11b84 (patch) | |
| tree | 3e378b40cd198ba0fe4d5eecc6062d305f4e7155 /src/lib | |
| parent | 355e95ed35092b05896dd1e94e4383df003ded84 (diff) | |
Quote stuff when calling ffprobe.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/film.cc | 4 |
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 ()); } |
