summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.h
diff options
context:
space:
mode:
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;
};