diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-04 20:22:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-04 20:22:47 +0000 |
| commit | 1b1bc528ee5ca1fee1bd33f9fb6f79cd551e3b33 (patch) | |
| tree | d60b9fb573dd8d6ab89036fb8788cd1b1c69aada /src/lib/subrip_decoder.cc | |
| parent | 6d8bcba724be622739a749064466901486304cee (diff) | |
New DCPTime/ContentTime types.
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 f89f40da4..6ebb88323 100644 --- a/src/lib/subrip_decoder.cc +++ b/src/lib/subrip_decoder.cc @@ -47,8 +47,8 @@ SubRipDecoder::pass () i->italic, dcp::Color (255, 255, 255), 72, - _subtitles[_next].from, - _subtitles[_next].to, + dcp::Time (rint (_subtitles[_next].from.seconds() * 250)), + dcp::Time (rint (_subtitles[_next].to.seconds() * 250)), 0.9, dcp::BOTTOM, i->text, |
