projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
It builds.
[dcpomatic.git]
/
src
/
lib
/
dcpomatic_time.h
diff --git
a/src/lib/dcpomatic_time.h
b/src/lib/dcpomatic_time.h
index b19a94ad78d5b817f117cd5b9080c0bf71860208..e0d47d9c8c49ff76cec5d0525408384efb5542c9 100644
(file)
--- a/
src/lib/dcpomatic_time.h
+++ b/
src/lib/dcpomatic_time.h
@@
-138,6
+138,10
@@
public:
static ContentTime from_frames (int64_t f, T r) {
return ContentTime (f * HZ / r);
}
+
+ static ContentTime max () {
+ return ContentTime (INT64_MAX);
+ }
};
std::ostream& operator<< (std::ostream& s, ContentTime t);