Add and use new FrameRateChange constructors.
[dcpomatic.git] / src / lib / video_mxf_content.cc
index 4f69cb2e2301ed1fb76d2395b25b058934638dbd..def58c5ebb3a5a7bc0e69dcccc2df31be1ed82b0 100644 (file)
@@ -119,7 +119,7 @@ VideoMXFContent::as_xml (xmlpp::Node* node, bool with_paths) const
 DCPTime
 VideoMXFContent::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());
 }