#include "text_decoder.h"
#include "dcp_subtitle.h"
-#include "font_data.h"
class DCPSubtitleContent;
bool pass () override;
void seek (dcpomatic::ContentTime time, bool accurate) override;
- std::vector<dcpomatic::FontData> fonts () const override;
+ boost::optional<dcpomatic::ContentTime> first () const;
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;
- std::vector<dcpomatic::FontData> _fonts;
+ dcp::SubtitleStandard _subtitle_standard;
};