diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-02 13:39:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-02 13:39:19 +0100 |
| commit | 88d2e9b659a7517c91a630c1cd67cc919c97d59a (patch) | |
| tree | 88c15c2312098a45d8e6f2360cb35e918a5732eb /src/lib/subrip_decoder.cc | |
| parent | c2d6d07ed57707ae2342c9a0b352b7c507cd5005 (diff) | |
Pass colour on when decoding.
Diffstat (limited to 'src/lib/subrip_decoder.cc')
| -rw-r--r-- | src/lib/subrip_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/subrip_decoder.cc b/src/lib/subrip_decoder.cc index 6542c1a8e..c53e89602 100644 --- a/src/lib/subrip_decoder.cc +++ b/src/lib/subrip_decoder.cc @@ -63,7 +63,7 @@ SubRipDecoder::pass () dcp::SubtitleString ( SubRipContent::font_id, j->italic, - dcp::Colour (255, 255, 255), + dcp::Colour (j->colour.r * 255, j->colour.g * 255, j->colour.b * 255), j->font_size.points (72 * 11), 1.0, dcp::Time (_subtitles[_next].from.all_as_seconds()), |
