diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-13 22:18:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-13 22:18:59 +0200 |
| commit | 8bc480da2db924349465dbe557f87bd6f05b7fdd (patch) | |
| tree | 9fcbab45685746b7a00b1045aca19f495f4f92df /src/types.h | |
| parent | 0ecf58d20eec5e9d10ee4b9f0440d232d875f94a (diff) | |
Basic implementation of <Space> tag in subtitles.v1.8.3
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 6 |
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 |
