X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_decoder.h;h=7d26139ba47ab6d62a403c066fc091aab30f1c89;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=d81b20b5c30d2d4793870aa07e286155b55daf77;hpb=9e4c091e6ef0f79fab10664e95240de2f14e5702;p=dcpomatic.git diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index d81b20b5c..7d26139ba 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -17,6 +17,10 @@ */ +/** @file src/dcp_decoder.h + * @brief A decoder of existing DCPs. + */ + #include "video_decoder.h" #include "audio_decoder.h" #include "subtitle_decoder.h" @@ -31,16 +35,17 @@ class Log; class DCPDecoder : public VideoDecoder, public AudioDecoder, public SubtitleDecoder { public: - DCPDecoder (boost::shared_ptr, boost::shared_ptr); + DCPDecoder (boost::shared_ptr); private: - void seek (ContentTime t, bool accurate); bool pass (); - std::list subtitles_during (ContentTimePeriod, bool starting) const; + void seek (ContentTime t, bool accurate); + + std::list image_subtitles_during (ContentTimePeriod, bool starting) const; + std::list text_subtitles_during (ContentTimePeriod, bool starting) const; ContentTime _next; std::list > _reels; std::list >::iterator _reel; - boost::shared_ptr _log; boost::shared_ptr _dcp_content; };