diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-14 23:30:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-14 23:30:47 +0200 |
| commit | a437915f3c6e2ce50a1bac3c4ff70d08904f8101 (patch) | |
| tree | a73f3bc566ab4380e20bac173bd87decf5613ec1 /src | |
| parent | d06c2809593501c73ba8bdb2396e487370c73274 (diff) | |
Update comment to reflect strange aspects of subtitle alignment standards.
Diffstat (limited to 'src')
| -rw-r--r-- | src/types.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/types.h b/src/types.h index 9aacdfdb..b6335546 100644 --- a/src/types.h +++ b/src/types.h @@ -176,9 +176,21 @@ extern HAlign string_to_halign (std::string s); enum class VAlign { - TOP, ///< vertical position is distance from top of screen to top of subtitle - CENTER, ///< vertical position is distance from centre of screen to centre of subtitle - BOTTOM ///< vertical position is distance from bottom of screen to bottom of subtitle + /** vertical position is distance: + * from top of screen to top of subtitle (for SMPTE) or + * from top of screen to subtitle baseline (for Interop) + */ + TOP, + /** vertical position is distance: + * from centre of screen to centre of subtitle (for SMPTE) or + * from centre of screen to subtitle baseline (for Interop) + */ + CENTER, + /** vertical position is distance: + * from bottom of screen to bottom of subtitle (for SMPTE) or + * from bottom of screen to subtitle baseline (for Interop) + */ + BOTTOM }; |
