diff options
Diffstat (limited to 'src/lib/dcpomatic_time.h')
| -rw-r--r-- | src/lib/dcpomatic_time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index b19a94ad7..e0d47d9c8 100644 --- 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); |
