summaryrefslogtreecommitdiff
path: root/src/lib/cross.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 23:17:00 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 23:17:00 +0000
commitad1ef39eda58b3a919ea3b7084401a0439409ec6 (patch)
tree2bf2888a1a964f07b7dc318c7bf7dd73e1d61eb0 /src/lib/cross.cc
parentfe8251bb73765b459042b0fa841dae2d440487fd (diff)
Tidy and fix logging.
Diffstat (limited to 'src/lib/cross.cc')
-rw-r--r--src/lib/cross.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 75205dc1a..61b150a3b 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -21,6 +21,7 @@
#include "cross.h"
#include "compose.hpp"
#include "log.h"
+#include "dcpomatic_log.h"
#include "config.h"
#include "exceptions.h"
extern "C" {
@@ -53,10 +54,6 @@ extern "C" {
#include "i18n.h"
-#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), LogEntry::TYPE_GENERAL);
-#define LOG_ERROR(...) log->log (String::compose (__VA_ARGS__), LogEntry::TYPE_ERROR);
-#define LOG_ERROR_NC(...) log->log (__VA_ARGS__, LogEntry::TYPE_ERROR);
-
using std::pair;
using std::list;
using std::ifstream;
@@ -182,7 +179,7 @@ shared_path ()
}
void
-run_ffprobe (boost::filesystem::path content, boost::filesystem::path out, shared_ptr<Log> log)
+run_ffprobe (boost::filesystem::path content, boost::filesystem::path out)
{
#ifdef DCPOMATIC_WINDOWS
SECURITY_ATTRIBUTES security;