diff options
Diffstat (limited to 'src/lib/check_hashes_job.cc')
| -rw-r--r-- | src/lib/check_hashes_job.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/check_hashes_job.cc b/src/lib/check_hashes_job.cc index f07a5ab2a..d64ccc866 100644 --- a/src/lib/check_hashes_job.cc +++ b/src/lib/check_hashes_job.cc @@ -41,7 +41,7 @@ CheckHashesJob::CheckHashesJob (shared_ptr<const FilmState> s, shared_ptr<const string CheckHashesJob::name () const { - return String::compose ("Check hashes of %1", _fs->name); + return String::compose ("Check hashes of %1", _fs->name()); } void @@ -66,13 +66,13 @@ CheckHashesJob::run () ++_bad; } - set_progress (float (i) / _fs->length); + set_progress (float (i) / _fs->length()); } if (_bad) { shared_ptr<Job> tc; - if (_fs->dcp_ab) { + if (_fs->dcp_ab()) { tc.reset (new ABTranscodeJob (_fs, _opt, _log, shared_from_this())); } else { tc.reset (new TranscodeJob (_fs, _opt, _log, shared_from_this())); |
