class TextDecoder : public DecoderPart
{
public:
- TextDecoder (
- Decoder* parent,
- std::shared_ptr<const TextContent>,
- dcpomatic::ContentTime first
- );
+ TextDecoder (Decoder* parent, std::shared_ptr<const TextContent>);
boost::optional<dcpomatic::ContentTime> position (std::shared_ptr<const Film>) const override {
return _position;
void emit_plain (dcpomatic::ContentTimePeriod period, sub::Subtitle const & subtitle);
void emit_stop (dcpomatic::ContentTime to);
+ void maybe_set_position (dcpomatic::ContentTime position);
+
void seek () override;
std::shared_ptr<const TextContent> content () const {