X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_decoder.h;h=4068696eafe397620b824d3665a0f0e9e541752d;hp=7238f3bb200224af81da71dba1a3dbead5998212;hb=a5be11a965c2c38442e4e069874e7e21b5b43a5c;hpb=19988f49c34b6f420da5a7014fc7c205e8e895a2 diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index 7238f3bb2..4068696ea 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -27,6 +27,7 @@ #include #include #include +#include namespace dcp { class Reel; @@ -39,13 +40,13 @@ struct dcp_subtitle_within_dcp_test; class DCPDecoder : public DCP, public Decoder { public: - DCPDecoder (boost::shared_ptr, boost::shared_ptr log, bool fast); + DCPDecoder (boost::shared_ptr film, boost::shared_ptr, bool fast); std::list > reels () const { return _reels; } - void set_decode_referenced (); + void set_decode_referenced (bool r); void set_forced_reduction (boost::optional reduction); bool pass (); @@ -56,7 +57,15 @@ private: void next_reel (); void get_readers (); - void pass_subtitles (ContentTime next); + void pass_texts (ContentTime next, dcp::Size size); + void pass_texts ( + ContentTime next, + boost::shared_ptr asset, + bool reference, + int64_t entry_point, + boost::shared_ptr decoder, + dcp::Size size + ); /** Time of next thing to return from pass relative to the start of _reel */ ContentTime _next;