diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-06 21:00:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-06-06 21:00:50 +0200 |
| commit | 59953282b9f9da1164f39181347a01672c4f674c (patch) | |
| tree | 332a13a1280591ce0b9b7ede6fb57edd5462deec /src/lib/dcp_subtitle_decoder.h | |
| parent | f807d3f9751c43bcfa0b260aeb5deca5f00761d2 (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.h | 2 |
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; |
