Back port active_frame_rate_change stuff from v2, removing specification of video...
[dcpomatic.git] / src / lib / audio_content.cc
index 7d77154e17eaf044be7e5e9e9ea9751ede18f306..bf00b672a67d75188de664093ab9d67605fa88f7 100644 (file)
@@ -160,7 +160,7 @@ AudioContent::output_audio_frame_rate () const
        /* Resample to a DCI-approved sample rate */
        double t = dcp_audio_frame_rate (content_audio_frame_rate ());
 
-       FrameRateChange frc (video_frame_rate(), film->video_frame_rate());
+       FrameRateChange frc = film->active_frame_rate_change (position ());
 
        /* Compensate if the DCP is being run at a different frame rate
           to the source; that is, if the video is run such that it will