Remove Film pointer from clone().
[dcpomatic.git] / src / lib / atmos_mxf_content.cc
index 8300c2cd6e4e9026fefe9efa731e56682aeb0d87..4835442d5e5f01b3eb973f84ab7e888449d8e9f6 100644 (file)
@@ -93,6 +93,6 @@ AtmosMXFContent::as_xml (xmlpp::Node* node, bool with_paths) const
 DCPTime
 AtmosMXFContent::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 (_length * frc.factor()), film->video_frame_rate());
 }