summaryrefslogtreecommitdiff
path: root/src/dcp_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-12 20:02:39 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-12 20:02:39 +0000
commit670020792233d50b14363e54db6808733d5d2171 (patch)
treefb1c79324f4402cf343c38691dd6e4b06fd6deb9 /src/dcp_reader.cc
parentdbdc438c066ee2a80943b9494e78db19905f9fa9 (diff)
More various work.
Diffstat (limited to 'src/dcp_reader.cc')
-rw-r--r--src/dcp_reader.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dcp_reader.cc b/src/dcp_reader.cc
index 4145542..e511912 100644
--- a/src/dcp_reader.cc
+++ b/src/dcp_reader.cc
@@ -110,10 +110,11 @@ DCPReader::maybe_add_subtitle (string text, ParseState const & parse_state)
rs.italic = effective_font.italic.get();
rs.underline = false;
rs.vertical_position.proportional = float (effective_text.v_position) / 100;
+ rs.vertical_position.reference = effective_text.v_align;
rs.from = effective_subtitle.in;
rs.to = effective_subtitle.out;
- rs.fade_up = effective_subtitle.fade_up_time.metric (timecode_rate ());
- rs.fade_down = effective_subtitle.fade_down_time.metric (timecode_rate ());
+ rs.fade_up = effective_subtitle.fade_up_time;
+ rs.fade_down = effective_subtitle.fade_down_time;
_subs.push_back (rs);
}