X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fdcp_decoder.h;h=6ec9de684d74da53abb204b578e91ee1f314c2c5;hb=e3bb6707618b6a313a490f387bffbf0b6a064643;hp=84deab10143f741a7dd4029dc0ee94e6e1586801;hpb=de2af791bdfdcd653752cba970e59efc7bf810c7;p=dcpomatic.git diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index 84deab101..6ec9de684 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -39,15 +39,16 @@ struct dcp_subtitle_within_dcp_test; class DCPDecoder : public DCP, public Decoder { public: - DCPDecoder (boost::shared_ptr, boost::shared_ptr log); + DCPDecoder (boost::shared_ptr, boost::shared_ptr log, bool fast); std::list > reels () const { return _reels; } void set_decode_referenced (); + void set_forced_reduction (boost::optional reduction); - void pass (); + bool pass (); void seek (ContentTime t, bool accurate); private: @@ -71,4 +72,5 @@ private: boost::shared_ptr _sound_reader; bool _decode_referenced; + boost::optional _forced_reduction; };