summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-07 23:04:15 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-07 23:04:15 +0000
commit74765c0660239f48702ebc6d149d522b85392b63 (patch)
treed548627669b16513d5c2e8c877a7b15eb1879919 /src/subrip_reader.cc
parentbe2117b1ea71c535e03c02be962387829806b1da (diff)
Sketchy support for total line counts when describing vertical position as a line number.
Diffstat (limited to 'src/subrip_reader.cc')
-rw-r--r--src/subrip_reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc
index 8bd2005..0aba120 100644
--- a/src/subrip_reader.cc
+++ b/src/subrip_reader.cc
@@ -132,6 +132,8 @@ SubripReader::convert_line (string t, int line_number, TimePair from, TimePair t
p.from = from;
p.to = to;
p.vertical_position.line = line_number;
+ /* XXX: arbitrary */
+ p.vertical_position.lines = 32;
p.vertical_position.reference = TOP_OF_SUBTITLE;
/* XXX: missing <font> support */