X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_decoder.h;h=e5533927b4b77f9e485ff56efcd498f8f0dc8976;hb=d60fd90a6e13c727a05b629c8c4b93d4bf3b717b;hp=076dc3f3bb9bd9af3dd28838140c786b6f5543b6;hpb=de2af791bdfdcd653752cba970e59efc7bf810c7;p=dcpomatic.git diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h index 076dc3f3b..e5533927b 100644 --- a/src/lib/dcp_subtitle_decoder.h +++ b/src/lib/dcp_subtitle_decoder.h @@ -18,7 +18,7 @@ */ -#include "subtitle_decoder.h" +#include "text_decoder.h" #include "dcp_subtitle.h" class DCPSubtitleContent; @@ -26,14 +26,14 @@ class DCPSubtitleContent; class DCPSubtitleDecoder : public DCPSubtitle, public Decoder { public: - DCPSubtitleDecoder (boost::shared_ptr, boost::shared_ptr log); + DCPSubtitleDecoder (boost::shared_ptr film, boost::shared_ptr); - void pass (); + bool pass (); void seek (ContentTime time, bool accurate); private: - ContentTimePeriod content_time_period (dcp::SubtitleString s) const; + ContentTimePeriod content_time_period (boost::shared_ptr s) const; - std::list _subtitles; - std::list::const_iterator _next; + std::list > _subtitles; + std::list >::const_iterator _next; };