summaryrefslogtreecommitdiff
path: root/src/frame_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-15 14:28:16 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-15 14:28:16 +0100
commitdc17395f3a4c19f5eea2590f1d2904e88365c67a (patch)
treec7d5a99ee538483b948b756bdf7bcbfbbb62ae2a /src/frame_time.h
parent44a5e000d62230451cc35a239c7c3ba83d830bd7 (diff)
Add scale functions to time classes.
Diffstat (limited to 'src/frame_time.h')
-rw-r--r--src/frame_time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frame_time.h b/src/frame_time.h
index a260e95..ed5fc81 100644
--- a/src/frame_time.h
+++ b/src/frame_time.h
@@ -69,8 +69,11 @@ public:
std::string timecode () const;
void add (FrameTime t, float fps);
+ void scale (float f, float fps);
private:
+ void set_from_frames (int64_t f, float fps);
+
int _hours;
int _minutes;
int _seconds;