diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-23 01:15:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-23 01:15:37 +0000 |
| commit | 673ba43fb66eb0dee43807501753749f144254a7 (patch) | |
| tree | 1c337ccebdc2dc6f25d76d761252976814f34d57 /src/lib/video_mxf_content.cc | |
| parent | e13e5cd4cfda39b0a0b77ed8036e14e15f93ec2e (diff) | |
Remove required Film from content examine.
Diffstat (limited to 'src/lib/video_mxf_content.cc')
| -rw-r--r-- | src/lib/video_mxf_content.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/video_mxf_content.cc b/src/lib/video_mxf_content.cc index def58c5eb..9d2af1a32 100644 --- a/src/lib/video_mxf_content.cc +++ b/src/lib/video_mxf_content.cc @@ -123,6 +123,12 @@ VideoMXFContent::full_length (shared_ptr<const Film> film) const return DCPTime::from_frames (llrint (video->length_after_3d_combine() * frc.factor()), film->video_frame_rate()); } +DCPTime +VideoMXFContent::approximate_length () const +{ + return DCPTime::from_frames (video->length_after_3d_combine(), 24); +} + void VideoMXFContent::add_properties (list<UserProperty>& p) const { |
