diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-30 00:20:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-01 01:05:06 +0100 |
| commit | 9b7e3d7d992f64da4bc78bc99d1eb706f181b798 (patch) | |
| tree | 24a9c3c9a9914e19454ca70d8e55c7f5e0746dc0 /src/lib/text_subtitle_decoder.cc | |
| parent | 2894023433c3addfb04ba7ae0be534e251b641b9 (diff) | |
Make the preview respond to changes in subtitle line spacing.
Diffstat (limited to 'src/lib/text_subtitle_decoder.cc')
| -rw-r--r-- | src/lib/text_subtitle_decoder.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc index 5216863a0..ad9c00b63 100644 --- a/src/lib/text_subtitle_decoder.cc +++ b/src/lib/text_subtitle_decoder.cc @@ -103,3 +103,9 @@ TextSubtitleDecoder::content_time_period (sub::Subtitle s) const ContentTime::from_seconds (s.to.all_as_seconds()) ); } + +void +TextSubtitleDecoder::reset () +{ + subtitle->reset (); +} |
