summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-20 23:42:28 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-20 23:42:28 +0100
commitcb6729aa79b555b219974207fbe2ff0510f9d3ea (patch)
tree973024e5dbf8bd8d873850909665e6229138ef57 /src/lib/dcp_subtitle_decoder.h
parentd24251b2e0d82236f93ee5415b72849dee2a0ac8 (diff)
Bump libdcp for better verification, and make API adjustments.
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.h')
-rw-r--r--src/lib/dcp_subtitle_decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h
index 31b8e6a8e..a9540c3cf 100644
--- a/src/lib/dcp_subtitle_decoder.h
+++ b/src/lib/dcp_subtitle_decoder.h
@@ -35,10 +35,10 @@ public:
std::vector<dcpomatic::FontData> fonts () const;
private:
- dcpomatic::ContentTimePeriod content_time_period (std::shared_ptr<dcp::Subtitle> s) const;
+ dcpomatic::ContentTimePeriod content_time_period (std::shared_ptr<const dcp::Subtitle> s) const;
- std::list<std::shared_ptr<dcp::Subtitle> > _subtitles;
- std::list<std::shared_ptr<dcp::Subtitle> >::const_iterator _next;
+ 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;
};