summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-04 20:22:47 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-04 20:22:47 +0000
commit1b1bc528ee5ca1fee1bd33f9fb6f79cd551e3b33 (patch)
treed60b9fb573dd8d6ab89036fb8788cd1b1c69aada /src/lib/content.h
parent6d8bcba724be622739a749064466901486304cee (diff)
New DCPTime/ContentTime types.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index 78a41e306..fc3a531fa 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -27,6 +27,7 @@
#include <boost/enable_shared_from_this.hpp>
#include <libxml++/libxml++.h>
#include "types.h"
+#include "dcpomatic_time.h"
namespace cxml {
class Node;
@@ -120,7 +121,7 @@ public:
}
DCPTime end () const {
- return position() + length_after_trim() - 1;
+ return position() + length_after_trim();
}
DCPTime length_after_trim () const;