summaryrefslogtreecommitdiff
path: root/src/dcp_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-12 14:36:52 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-12 14:36:52 +0100
commit75356e094480bd7f96263a967a8cf165f4a2f818 (patch)
treea8308f40d89ca11e627de22c8af3205e88fa8ae9 /src/dcp_time.h
parent6268703ea69149150a9b78381490463bc4822f92 (diff)
A number of SMPTE subtitle syntax fixes.
Diffstat (limited to 'src/dcp_time.h')
-rw-r--r--src/dcp_time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcp_time.h b/src/dcp_time.h
index 1221fb32..270177dd 100644
--- a/src/dcp_time.h
+++ b/src/dcp_time.h
@@ -24,6 +24,7 @@
#ifndef LIBDCP_TIME_H
#define LIBDCP_TIME_H
+#include "types.h"
#include <stdint.h>
#include <string>
#include <iostream>
@@ -71,7 +72,7 @@ public:
int e; ///< editable units (where 1 editable unit is 1 / tcr_ seconds)
int tcr; ///< timecode rate: the number of editable units per second.
- std::string as_string () const;
+ std::string as_string (Standard standard) const;
double as_seconds () const;
int64_t as_editable_units (int tcr_) const;
Time rebase (int tcr_) const;