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/subtitle_decoder.h | |
| parent | 2894023433c3addfb04ba7ae0be534e251b641b9 (diff) | |
Make the preview respond to changes in subtitle line spacing.
Diffstat (limited to 'src/lib/subtitle_decoder.h')
| -rw-r--r-- | src/lib/subtitle_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h index 7a8ab32ec..726e898b1 100644 --- a/src/lib/subtitle_decoder.h +++ b/src/lib/subtitle_decoder.h @@ -51,6 +51,7 @@ public: std::list<ContentTextSubtitle> get_text (ContentTimePeriod period, bool starting, bool accurate); void seek (ContentTime, bool); + void reset (); void give_image (ContentTimePeriod period, boost::shared_ptr<Image>, dcpomatic::Rect<double>); void give_text (ContentTimePeriod period, std::list<dcp::SubtitleString>); @@ -61,6 +62,7 @@ public: } private: + Decoder* _parent; std::list<ContentImageSubtitle> _decoded_image; std::list<ContentTextSubtitle> _decoded_text; |
