Support TGA file directories and improve progress reporting when hashing directories...
[dcpomatic.git] / src / lib / content.cc
index 44b52a4715597a68025a9052f939756573d2f5ba..d2a07f79523f0e052b649a0d64425af9941b62d7 100644 (file)
@@ -80,7 +80,7 @@ Content::as_xml (xmlpp::Node* node) const
 }
 
 void
-Content::examine (shared_ptr<Job>)
+Content::examine (shared_ptr<Job> job)
 {
        boost::mutex::scoped_lock lm (_mutex);
        boost::filesystem::path p = _path;
@@ -90,7 +90,7 @@ Content::examine (shared_ptr<Job>)
        if (boost::filesystem::is_regular_file (p)) {
                d = md5_digest (p);
        } else {
-               d = md5_digest_directory (p);
+               d = md5_digest_directory (p, job);
        }
 
        lm.lock ();