Set up TextDecoder position based on the time that the next thing will
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.h
index 4f5964c6fb0019e70b46abaca8b46705ebf642db..16f89b53002b0023dd09e4baa37704aa6b3afdde 100644 (file)
@@ -38,6 +38,7 @@ public:
 
 private:
        dcpomatic::ContentTimePeriod content_time_period (std::shared_ptr<const dcp::Subtitle> s) const;
+       void update_position();
 
        std::vector<std::shared_ptr<const dcp::Subtitle>> _subtitles;
        std::vector<std::shared_ptr<const dcp::Subtitle>>::const_iterator _next;