Fix erroneous reports of unresolved assets when checking OV/VF pairs.
[libdcp.git] / src / dcp_time.h
index e872461487382b6ae4ca6d073bd9bc27190e597e..1fae786c03e274fc35b12cd63208bc901562bfd7 100644 (file)
@@ -39,6 +39,7 @@
 #define LIBDCP_TIME_H
 
 #include "types.h"
+#include <boost/optional.hpp>
 #include <stdint.h>
 #include <string>
 #include <iostream>
@@ -55,7 +56,7 @@ public:
        Time () : h (0), m (0), s (0), e (0), tcr (1) {}
 
        /** Construct a Time.
-        *  @param Frame index (starting from 0).
+        *  @param frame Frame index (starting from 0).
         *  @param frames_per_second Frames per second.
         *  @param tcr Timecode rate.
         */
@@ -78,7 +79,7 @@ public:
 
        Time (double seconds, int tcr);
 
-       Time (std::string time, int tcr);
+       Time (std::string time, boost::optional<int> tcr);
 
        int h; ///<   hours
        int m; ///<   minutes