diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-27 22:15:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-27 22:15:24 +0200 |
| commit | da9d093b4e0a84eb25838b70da80cb173f3f63c1 (patch) | |
| tree | ccb18a8416c4b0f745e1741a7c14e534eb9a0a5f | |
| parent | a240010fbac070dca01b0c0452f57cc35f675d39 (diff) | |
Some comments and default values.
| -rw-r--r-- | src/verify.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc index 871a9fd1..49cc4e2a 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1205,8 +1205,8 @@ dcp::verify_text_lines_and_characters( {} Time time; - int position; //< position from 0 at top of screen to 100 at bottom - int characters; + int position = 0; ///< vertical position from 0 at top of screen to 100 at bottom + int characters = 0; ///< number of characters in the text of this event shared_ptr<Event> start; }; @@ -1225,6 +1225,7 @@ dcp::verify_text_lines_and_characters( return 0L; }; + /* Make a list of "subtitle starts" and "subtitle ends" events */ for (auto j: asset->subtitles()) { auto text = dynamic_pointer_cast<const SubtitleString>(j); if (text) { |
