summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-06 21:00:50 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-06 21:00:50 +0200
commit59953282b9f9da1164f39181347a01672c4f674c (patch)
tree332a13a1280591ce0b9b7ede6fb57edd5462deec /src/lib/dcp_subtitle_decoder.h
parentf807d3f9751c43bcfa0b260aeb5deca5f00761d2 (diff)
Make jump-to-first-subtitle also work with DCP subs.
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.h')
-rw-r--r--src/lib/dcp_subtitle_decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h
index 4a54aaf2e..d1237b276 100644
--- a/src/lib/dcp_subtitle_decoder.h
+++ b/src/lib/dcp_subtitle_decoder.h
@@ -37,6 +37,8 @@ public:
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;