summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-15 19:49:09 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-15 19:49:09 +0100
commita976df9b5ebd2fc9b37db053faf4e8f33d59b41e (patch)
treec5f46192064e1917ffe6d8f39e3b6d49231d7af0 /src/lib/sndfile_content.cc
parent669ade1098a5afcfd1e2aee7f114de7baa77f97f (diff)
Allow setup of the frame rate that audio content is prepared for.
Diffstat (limited to 'src/lib/sndfile_content.cc')
-rw-r--r--src/lib/sndfile_content.cc2
1 files changed, 1 insertions, 1 deletions
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<AudioExaminer> 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 ());
}