More player debugging for butler video-full states.
[dcpomatic.git] / src / lib / atmos_mxf_content.cc
index 4835442d5e5f01b3eb973f84ab7e888449d8e9f6..5b97edcfd185fa996ba0a9340326781c37743da7 100644 (file)
@@ -96,3 +96,9 @@ AtmosMXFContent::full_length (shared_ptr<const Film> film) const
        FrameRateChange const frc (film, shared_from_this());
        return DCPTime::from_frames (llrint (_length * frc.factor()), film->video_frame_rate());
 }
+
+DCPTime
+AtmosMXFContent::approximate_length () const
+{
+       return DCPTime::from_frames (_length, 24);
+}