summaryrefslogtreecommitdiff
path: root/src/lib/examine_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-11-09 21:02:40 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-09 21:02:40 +0100
commit5e04a581436e6bbaa3057bedfea737b07dba37de (patch)
tree90d8ae51916814a56d28f267b046611b7a28c5a2 /src/lib/examine_content_job.cc
parent6b584fcc09138558639d53b4b1c7c7e6e65e776f (diff)
Add some more logging for examine content.stephan
Diffstat (limited to 'src/lib/examine_content_job.cc')
-rw-r--r--src/lib/examine_content_job.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc
index d12d736a7..b3cfbd097 100644
--- a/src/lib/examine_content_job.cc
+++ b/src/lib/examine_content_job.cc
@@ -20,16 +20,15 @@
#include "content.h"
+#include "dcpomatic_log.h"
#include "examine_content_job.h"
#include "film.h"
#include "log.h"
#include <boost/filesystem.hpp>
-#include <iostream>
#include "i18n.h"
-using std::cout;
using std::shared_ptr;
using std::string;
using std::vector;
@@ -69,7 +68,9 @@ ExamineContentJob::run()
{
int n = 0;
for (auto c: _content) {
+ LOG_GENERAL("Examine {}", c->path(0).string());
c->examine(_film, shared_from_this(), _tolerant);
+ LOG_GENERAL("Examine {} finished", c->path(0).string());
set_progress(float(n) / _content.size());
++n;
}