X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexamine_content_job.cc;h=cbf180ffcb3bf451379e410039d5d28dfed75d80;hb=13b2b8f48f3f1a22277a760a7fada980b9f37677;hp=f68a1eea0e7e765301292c6ff1b66496e5b754cd;hpb=a4642b6463430175d0f4e1ca284a4bf08bcf4de9;p=dcpomatic.git diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index f68a1eea0..cbf180ffc 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -26,9 +26,10 @@ #include "i18n.h" using std::string; +using std::cout; using boost::shared_ptr; -ExamineContentJob::ExamineContentJob (shared_ptr f, shared_ptr c) +ExamineContentJob::ExamineContentJob (shared_ptr f, shared_ptr c) : Job (f) , _content (c) { @@ -49,7 +50,6 @@ void ExamineContentJob::run () { _content->examine (shared_from_this ()); - _film->add_content (_content); set_progress (1); set_state (FINISHED_OK); }