summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-24 15:09:05 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-24 15:09:05 +0100
commitf1f25e57c97a6ea28513820912169305795c7d14 (patch)
tree2ed1ff6b864bbe6bc990c069e679e06d24935f20 /src
parent99aa6b5fd53426eee80b409ed99d1ee86c097cd5 (diff)
Fix linux build.
Diffstat (limited to 'src')
-rw-r--r--src/lib/cross.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index cdb7f2819..a642915f4 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -20,6 +20,7 @@
#include <fstream>
#include <boost/algorithm/string.hpp>
#include "cross.h"
+#include "compose.hpp"
#include "log.h"
#ifdef DVDOMATIC_POSIX
#include <unistd.h>
@@ -150,7 +151,7 @@ run_ffprobe (boost::filesystem::path content, boost::filesystem::path out, share
CloseHandle (process_info.hThread);
CloseHandle (child_stderr_read);
#else
- string ffprobe = "ffprobe 2> \"" + c + "\" 2> \"" + file ("ffprobe.log");
+ string ffprobe = "ffprobe 2> \"" + content.string() + "\" 2> \"" + out.string();
log->log (String::compose ("Probing with %1", ffprobe));
system (ffprobe.c_str ());
#endif