summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/string_text_file_content.cc')
-rw-r--r--src/lib/string_text_file_content.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/string_text_file_content.cc b/src/lib/string_text_file_content.cc
index 8b740546e..b4362a7d0 100644
--- a/src/lib/string_text_file_content.cc
+++ b/src/lib/string_text_file_content.cc
@@ -94,3 +94,9 @@ StringTextFileContent::full_length (shared_ptr<const Film> film) const
FrameRateChange const frc (film, shared_from_this());
return DCPTime (_length, frc);
}
+
+DCPTime
+StringTextFileContent::approximate_length () const
+{
+ return DCPTime (_length, FrameRateChange());
+}