summaryrefslogtreecommitdiff
path: root/src/lib/transcode_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/transcode_job.cc')
-rw-r--r--src/lib/transcode_job.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc
index 61fad2e2b..f7cc500fe 100644
--- a/src/lib/transcode_job.cc
+++ b/src/lib/transcode_job.cc
@@ -120,8 +120,8 @@ TranscodeJob::remaining_time () const
/* Compute approximate proposed length here, as it's only here that we need it */
int length = _film->length().get();
- DCPFrameRate const dfr (_film->frames_per_second ());
- if (dfr.skip) {
+ FrameRateConversion const frc (_film->source_frame_rate(), _film->dcp_frame_rate());
+ if (frc.skip) {
length /= 2;
}
/* If we are repeating it shouldn't affect transcode time, so don't take it into account */