Add and use new FrameRateChange constructors.
[dcpomatic.git] / src / lib / image_content.cc
index 55ffac4f251f786ba9393307d1df24e561e0a785..c84ba7d29019c3f0575170678254c4649f27c97d 100644 (file)
@@ -135,7 +135,7 @@ ImageContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
 DCPTime
 ImageContent::full_length (shared_ptr<const Film> film) const
 {
-       FrameRateChange const frc (active_video_frame_rate(film), film->video_frame_rate());
+       FrameRateChange const frc (film, shared_from_this());
        return DCPTime::from_frames (llrint(video->length_after_3d_combine() * frc.factor()), film->video_frame_rate());
 }