projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swaroop: only disable next button if skippable (not previous).
[dcpomatic.git]
/
src
/
lib
/
string_text_file_content.cc
diff --git
a/src/lib/string_text_file_content.cc
b/src/lib/string_text_file_content.cc
index 8b740546e82004c47299b514650e5384f11fe197..b4362a7d0e7bb9e4b40ef97e6b7f779170ff991a 100644
(file)
--- 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());
+}