summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/text_decoder.h')
-rw-r--r--src/lib/text_decoder.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h
index 607d9e194..5f01c5b1f 100644
--- a/src/lib/text_decoder.h
+++ b/src/lib/text_decoder.h
@@ -42,11 +42,7 @@ class Image;
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;
@@ -60,6 +56,8 @@ public:
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 {