Add and use new FrameRateChange constructors.
[dcpomatic.git] / src / lib / ffmpeg_content.cc
index 2b494dc9233259afdf2f73e30c1c015777b311ed..fcadc91165ab12179b9e1987467fd912115d97fa 100644 (file)
@@ -402,7 +402,7 @@ operator!= (FFmpegStream const & a, FFmpegStream const & b)
 DCPTime
 FFmpegContent::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());
        if (video) {
                return DCPTime::from_frames (llrint (video->length_after_3d_combine() * frc.factor()), film->video_frame_rate());
        }