X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcheck_hashes_job.cc;h=f60a2d40d62cff94e24473503dc5a84e733e7357;hb=97675be04d4a87e00c99733ee7b904ccbe632994;hp=5a927f752bb5815517dfb488787545849884dbe3;hpb=922361469072474da4294a90f1436cd0117cb90f;p=dcpomatic.git diff --git a/src/lib/check_hashes_job.cc b/src/lib/check_hashes_job.cc index 5a927f752..f60a2d40d 100644 --- a/src/lib/check_hashes_job.cc +++ b/src/lib/check_hashes_job.cc @@ -41,17 +41,17 @@ CheckHashesJob::CheckHashesJob (shared_ptr s, shared_ptrname; - return s.str (); + return String::compose ("Check hashes of %1", _fs->name); } void CheckHashesJob::run () { _bad = 0; + + int const N = _fs->dcp_length (); - for (int i = 0; i < _fs->length; ++i) { + for (int i = 0; i < N; ++i) { string const j2k_file = _opt->frame_out_path (i, false); string const hash_file = j2k_file + ".md5";