summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-03 16:09:24 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-03 16:09:24 +0100
commit4b0ece8d964961598ce4734ce25bb0aed66dbf7a (patch)
treee13cc114733d155353e8e20c73d96627a5ceb1a0 /src/types.h
parent5e4c87ae58f1ed73b9ef19cd75210963599fa546 (diff)
Add AspectAdjust to subtitles.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 3c74c45c..52b831f7 100644
--- a/src/types.h
+++ b/src/types.h
@@ -214,6 +214,10 @@ extern std::ostream & operator<< (std::ostream & s, Colour const & c);
typedef boost::function<void (NoteType, std::string)> NoteHandler;
+/** Maximum absolute difference between dcp::SubtitleString::aspect_adjust values that
+ * are considered equal.
+ */
+#define ASPECT_ADJUST_EPSILON (1e-3)
}