summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-13 22:18:59 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-13 22:18:59 +0200
commit8bc480da2db924349465dbe557f87bd6f05b7fdd (patch)
tree9fcbab45685746b7a00b1045aca19f495f4f92df /src/types.h
parent0ecf58d20eec5e9d10ee4b9f0440d232d875f94a (diff)
Basic implementation of <Space> tag in subtitles.v1.8.3
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index caa28dd5..be9ba1b3 100644
--- a/src/types.h
+++ b/src/types.h
@@ -349,6 +349,12 @@ constexpr float ASPECT_ADJUST_EPSILON = 1e-3;
constexpr float ALIGN_EPSILON = 1e-3;
+/** Maximum absolute difference between dcp::SubtitleString space_before values that
+ * are considered equal.
+ */
+constexpr float SPACE_BEFORE_EPSILON = 1e-3;
+
+
enum class Marker {
FFOC, ///< first frame of composition
LFOC, ///< last frame of composition