X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcross.cc;h=61b150a3b68fe05526a8a81aa60ff024a414cc6c;hp=75205dc1aa11709d84b651421f452005e0399b6d;hb=ad1ef39eda58b3a919ea3b7084401a0439409ec6;hpb=fe8251bb73765b459042b0fa841dae2d440487fd 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) +run_ffprobe (boost::filesystem::path content, boost::filesystem::path out) { #ifdef DCPOMATIC_WINDOWS SECURITY_ATTRIBUTES security;