summaryrefslogtreecommitdiff
path: root/src/lib/atmos_mxf_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 12:15:26 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 12:15:26 +0000
commitf67bc45820b4e56f90eecb97ba3b7762c119f9b5 (patch)
tree58b009c238bc4dad8606e70ba617bcb7a49fb89c /src/lib/atmos_mxf_content.cc
parent84012cdd64f451891febd36154b7226ea21a899b (diff)
Add and use new FrameRateChange constructors.
Diffstat (limited to 'src/lib/atmos_mxf_content.cc')
-rw-r--r--src/lib/atmos_mxf_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/atmos_mxf_content.cc b/src/lib/atmos_mxf_content.cc
index 8300c2cd6..4835442d5 100644
--- a/src/lib/atmos_mxf_content.cc
+++ b/src/lib/atmos_mxf_content.cc
@@ -93,6 +93,6 @@ AtmosMXFContent::as_xml (xmlpp::Node* node, bool with_paths) const
DCPTime
AtmosMXFContent::full_length (shared_ptr<const Film> film) const
{
- FrameRateChange const frc (active_video_frame_rate(film), film->video_frame_rate());
+ FrameRateChange const frc (film, shared_from_this());
return DCPTime::from_frames (llrint (_length * frc.factor()), film->video_frame_rate());
}