Add and use new FrameRateChange constructors.
[dcpomatic.git] / src / lib / dcp_content.cc
index 62284e4333e06a1ceb62bfaebc99fd83a41a7ab4..3110f93ad5eb6b61abf18ceb1e752da5f7647b7b 100644 (file)
@@ -342,7 +342,7 @@ DCPContent::full_length (shared_ptr<const Film> film) const
        if (!video) {
                return DCPTime();
        }
-       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() * frc.factor()), film->video_frame_rate());
 }