class DCPDecoder : public DCP, public Decoder
{
public:
- DCPDecoder (boost::shared_ptr<const DCPContent>, boost::shared_ptr<Log> log);
+ DCPDecoder (boost::shared_ptr<const DCPContent>, boost::shared_ptr<Log> log, bool fast);
std::list<boost::shared_ptr<dcp::Reel> > reels () const {
return _reels;
}
void set_decode_referenced ();
+ void set_forced_reduction (boost::optional<int> reduction);
- void pass ();
+ bool pass ();
void seek (ContentTime t, bool accurate);
private:
boost::shared_ptr<dcp::SoundAssetReader> _sound_reader;
bool _decode_referenced;
+ boost::optional<int> _forced_reduction;
};