From 154d5fc4b28394ffcc0e12a680b0a24107d11b84 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 24 Jun 2013 01:09:54 +0100 Subject: Quote stuff when calling ffprobe. --- src/lib/film.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 ()); } -- cgit v1.2.3