From 9b7e3d7d992f64da4bc78bc99d1eb706f181b798 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 30 Jun 2016 00:20:49 +0100 Subject: Make the preview respond to changes in subtitle line spacing. --- src/lib/text_subtitle_decoder.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/text_subtitle_decoder.cc') 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 (); +} -- cgit v1.2.3