summaryrefslogtreecommitdiff
path: root/src/lib/check_hashes_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/check_hashes_job.cc')
-rw-r--r--src/lib/check_hashes_job.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/check_hashes_job.cc b/src/lib/check_hashes_job.cc
index a9f8ac90b..d1483933d 100644
--- a/src/lib/check_hashes_job.cc
+++ b/src/lib/check_hashes_job.cc
@@ -58,8 +58,9 @@ CheckHashesJob::run ()
}
int const N = _film->dcp_length().get();
+ DCPFrameRate const dfr = dcp_frame_rate (_film->frames_per_second ());
- for (int i = 0; i < N; ++i) {
+ for (int i = 0; i < N; i += dfr.skip) {
string const j2k_file = _opt->frame_out_path (i, false);
string const hash_file = j2k_file + ".md5";