From a976df9b5ebd2fc9b37db053faf4e8f33d59b41e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Apr 2016 19:49:09 +0100 Subject: Allow setup of the frame rate that audio content is prepared for. --- src/lib/sndfile_content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/sndfile_content.cc') diff --git a/src/lib/sndfile_content.cc b/src/lib/sndfile_content.cc index c4f418775..f9eb62a2b 100644 --- a/src/lib/sndfile_content.cc +++ b/src/lib/sndfile_content.cc @@ -106,6 +106,6 @@ SndfileContent::take_from_audio_examiner (shared_ptr examiner) DCPTime SndfileContent::full_length () const { - FrameRateChange const frc = film()->active_frame_rate_change (position ()); + FrameRateChange const frc (audio_video_frame_rate(), film()->video_frame_rate()); return DCPTime::from_frames (audio_length() / frc.speed_up, audio_stream()->frame_rate ()); } -- cgit v1.2.3