Move video frame rate ('prepared-for') into Content.
[dcpomatic.git] / src / lib / sndfile_content.cc
index f8e58885ed4876d0559d29ac8375b58f6c7adf66..2b28ba8b4cf0688c86b688a85ee55e7e8a00f611 100644 (file)
@@ -114,6 +114,6 @@ SndfileContent::examine (shared_ptr<Job> job)
 DCPTime
 SndfileContent::full_length () const
 {
-       FrameRateChange const frc (audio->video_frame_rate(), film()->video_frame_rate());
+       FrameRateChange const frc (active_video_frame_rate(), film()->video_frame_rate());
        return DCPTime::from_frames (audio_length() / frc.speed_up, audio->stream()->frame_rate ());
 }