diff options
Diffstat (limited to 'src/lib/subtitle_decoder.h')
| -rw-r--r-- | src/lib/subtitle_decoder.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h index efa90fd92..a26348ee6 100644 --- a/src/lib/subtitle_decoder.h +++ b/src/lib/subtitle_decoder.h @@ -39,11 +39,17 @@ public: std::list<boost::shared_ptr<ContentTextSubtitle> > get_text_subtitles (ContentTime from, ContentTime to); protected: + void seek (ContentTime, bool); + void image_subtitle (ContentTime from, ContentTime to, boost::shared_ptr<Image>, dcpomatic::Rect<double>); void text_subtitle (std::list<dcp::SubtitleString>); std::list<boost::shared_ptr<ContentImageSubtitle> > _decoded_image_subtitles; std::list<boost::shared_ptr<ContentTextSubtitle> > _decoded_text_subtitles; + +private: + template <class T> + std::list<boost::shared_ptr<T> > get (std::list<boost::shared_ptr<T> > const & subs, ContentTime from, ContentTime to); }; #endif |
