diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-23 22:26:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-23 22:26:24 +0000 |
| commit | c02a727074237c58c8757e862639919b35210701 (patch) | |
| tree | fc62b910a3cf6912f7af058162bc8bc2b2b31bb2 /src/lib/subrip_decoder.cc | |
| parent | 043873fc27b1e57981521d856072c3c2d9dfb5d0 (diff) | |
Remove erroneous rounding of subrip times.
Diffstat (limited to 'src/lib/subrip_decoder.cc')
| -rw-r--r-- | src/lib/subrip_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/subrip_decoder.cc b/src/lib/subrip_decoder.cc index 694b22157..552a96b8f 100644 --- a/src/lib/subrip_decoder.cc +++ b/src/lib/subrip_decoder.cc @@ -65,8 +65,8 @@ SubRipDecoder::pass () j->italic, dcp::Colour (255, 255, 255), j->font_size.points (72 * 11), - dcp::Time (rint (_subtitles[_next].from.all_as_seconds())), - dcp::Time (rint (_subtitles[_next].to.all_as_seconds())), + dcp::Time (_subtitles[_next].from.all_as_seconds()), + dcp::Time (_subtitles[_next].to.all_as_seconds()), i->vertical_position.line.get() * (1.5 / 22) + 0.8, dcp::TOP, j->text, |
