It builds.
[dcpomatic.git] / src / lib / dcpomatic_time.h
index b19a94ad78d5b817f117cd5b9080c0bf71860208..e0d47d9c8c49ff76cec5d0525408384efb5542c9 100644 (file)
@@ -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);