From 91f94491733d790d41e39b3604d67d3c3561bf01 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 24 Oct 2013 15:42:32 +0100 Subject: Add Time constructor from ticks; fix Time::to_ticks(). --- src/dcp_time.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dcp_time.h') diff --git a/src/dcp_time.h b/src/dcp_time.h index 10e495f9..92cee9a0 100644 --- a/src/dcp_time.h +++ b/src/dcp_time.h @@ -39,6 +39,8 @@ class Time public: Time () : h (0), m (0), s (0), t (0) {} + Time (int64_t ticks); + /** Construct a Time from a frame index (starting from 0) * and a frames per second count. */ -- cgit v1.2.3