Add and use new FrameRateChange constructors.
[dcpomatic.git] / src / lib / dcp_subtitle_content.cc
index 21a50c1990db485f4c20c3b71ba4349f20cd6e0d..d25e06188b95de79ab189e9cbc03b1a8af5adad2 100644 (file)
@@ -84,7 +84,7 @@ DCPSubtitleContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
 DCPTime
 DCPSubtitleContent::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 (_length, frc);
 }