diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-12 20:02:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-12 20:02:39 +0000 |
| commit | 670020792233d50b14363e54db6808733d5d2171 (patch) | |
| tree | fb1c79324f4402cf343c38691dd6e4b06fd6deb9 /src/dcp_reader.cc | |
| parent | dbdc438c066ee2a80943b9494e78db19905f9fa9 (diff) | |
More various work.
Diffstat (limited to 'src/dcp_reader.cc')
| -rw-r--r-- | src/dcp_reader.cc | 5 |
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); } |
