summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-09 14:08:27 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-09 14:08:27 +0100
commit5dfc7f9697d6ef9c0199b23420da8aa2c4a297fe (patch)
tree31c5df7d23da29f5ada4c1545b94c519027084f3 /src/subrip_reader.cc
parent4a317b0609fb19fd22858561beba3162d22d2cd4 (diff)
Don't specify arbitrary guessed stuff.
Diffstat (limited to 'src/subrip_reader.cc')
-rw-r--r--src/subrip_reader.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc
index 5a4122c..e5f113d 100644
--- a/src/subrip_reader.cc
+++ b/src/subrip_reader.cc
@@ -67,11 +67,11 @@ SubripReader::read (function<optional<string> ()> get_line)
} state = COUNTER;
RawSubtitle rs;
- rs.font = "Arial";
- rs.font_size.set_points (48);
+
+ /* This reader extracts no information about where the subtitle
+ should be on screen, so its reference is TOP_OF_SUBTITLE.
+ */
rs.vertical_position.line = 0;
- /* XXX: arbitrary */
- rs.vertical_position.lines = 32;
rs.vertical_position.reference = TOP_OF_SUBTITLE;
while (true) {