X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcheck_hashes_job.cc;h=cf4e86b79c1e2038c8ff738e8233a66c022f94a7;hb=4870ce43dd314d557f7b14938456138c746fd617;hp=2ad97c382d5eeb38987db5a635cd31393818e6ed;hpb=9db7ed5f6499de903313a85d59bb70302e97e7ff;p=dcpomatic.git diff --git a/src/lib/check_hashes_job.cc b/src/lib/check_hashes_job.cc index 2ad97c382..cf4e86b79 100644 --- a/src/lib/check_hashes_job.cc +++ b/src/lib/check_hashes_job.cc @@ -57,12 +57,12 @@ CheckHashesJob::run () throw EncodeError ("cannot check hashes of a DCP with unknown length"); } - SourceFrame const N = _film->dcp_trim_start() + _film->dcp_length().get(); + SourceFrame const N = _film->trim_start() + _film->dcp_length().get(); DCPFrameRate const dfr (_film->frames_per_second ()); int const inc = dfr.skip ? 2 : 1; - for (SourceFrame i = _film->dcp_trim_start(); i < N; i += inc) { + for (SourceFrame i = _film->trim_start(); i < N; i += inc) { string const j2k_file = _film->frame_out_path (i, false); string const hash_file = _film->hash_out_path (i, false);