X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubtitle_decoder.h;h=d7faaa0145900658edb2441597a47b0d5e3af968;hb=dace9781f5fbd7d409f55887c0e04e0cc0ff06d2;hp=142cfa42b766b0813fb1570d530268d886beee2c;hpb=e80e6a8567dd107f5ea3b708975cb5fd92112a57;p=dcpomatic.git diff --git a/src/lib/subtitle_decoder.h b/src/lib/subtitle_decoder.h index 142cfa42b..d7faaa014 100644 --- a/src/lib/subtitle_decoder.h +++ b/src/lib/subtitle_decoder.h @@ -20,11 +20,11 @@ #ifndef DCPOMATIC_SUBTITLE_DECODER_H #define DCPOMATIC_SUBTITLE_DECODER_H -#include #include "decoder.h" #include "rect.h" #include "types.h" #include "content_subtitle.h" +#include class Film; class DCPTimedSubtitle; @@ -51,7 +51,10 @@ private: template std::list get (std::list const & subs, ContentTimePeriod period, bool starting); - virtual std::list subtitles_during (ContentTimePeriod, bool starting) const = 0; + /** @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; boost::shared_ptr _subtitle_content; };