From 2bfd531137f1a4874493186015046e33c5a07c1e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 12 May 2015 16:13:48 +0100 Subject: Assorted image subtitle fixes. --- src/lib/subtitle_decoder.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/subtitle_decoder.h') diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h index d7faaa014..8ba74404f 100644 --- a/src/lib/subtitle_decoder.h +++ b/src/lib/subtitle_decoder.h @@ -49,12 +49,13 @@ protected: private: template - std::list get (std::list const & subs, ContentTimePeriod period, bool starting); + std::list get (std::list const & subs, std::list const & sp, ContentTimePeriod period, bool starting); /** @param starting true if we want only subtitles that start during the period, otherwise * we want subtitles that overlap the period. */ - virtual std::list subtitles_during (ContentTimePeriod period, bool starting) const = 0; + virtual std::list image_subtitles_during (ContentTimePeriod period, bool starting) const = 0; + virtual std::list text_subtitles_during (ContentTimePeriod period, bool starting) const = 0; boost::shared_ptr _subtitle_content; }; -- cgit v1.2.3