X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_decoder.h;h=5bf6363ad282630005a81067e0ac1940179e5cd9;hb=bd83f1b0e1d8e7aae0af51376dbbb88d5e3f69d0;hp=ef4dad3f5dcb7db8c2d304fba7346ab4f5e58d9b;hpb=27b83475435dda4e84a90cf59a52f150905c4ab1;p=dcpomatic.git diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h index ef4dad3f5..5bf6363ad 100644 --- a/src/lib/dcp_subtitle_decoder.h +++ b/src/lib/dcp_subtitle_decoder.h @@ -18,7 +18,7 @@ */ -#include "caption_decoder.h" +#include "text_decoder.h" #include "dcp_subtitle.h" class DCPSubtitleContent; @@ -26,13 +26,13 @@ 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); bool pass (); - void seek (ContentTime time, bool accurate); + void seek (dcpomatic::ContentTime time, bool accurate); private: - ContentTimePeriod content_time_period (boost::shared_ptr s) const; + dcpomatic::ContentTimePeriod content_time_period (boost::shared_ptr s) const; std::list > _subtitles; std::list >::const_iterator _next;