X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_content.cc;fp=src%2Flib%2Fdcp_subtitle_content.cc;h=54bd631cb6586a03dc7ee15c9831193e78c78e56;hp=d25e06188b95de79ab189e9cbc03b1a8af5adad2;hb=673ba43fb66eb0dee43807501753749f144254a7;hpb=e13e5cd4cfda39b0a0b77ed8036e14e15f93ec2e diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc index d25e06188..54bd631cb 100644 --- a/src/lib/dcp_subtitle_content.cc +++ b/src/lib/dcp_subtitle_content.cc @@ -88,6 +88,12 @@ DCPSubtitleContent::full_length (shared_ptr film) const return DCPTime (_length, frc); } +DCPTime +DCPSubtitleContent::approximate_length () const +{ + return DCPTime (_length, FrameRateChange()); +} + string DCPSubtitleContent::summary () const {