Drop video frames if we running out of time.
[dcpomatic.git] / src / lib / dcp_decoder.h
index 84deab10143f741a7dd4029dc0ee94e6e1586801..aa76b83d6c435f3617210ecfccdd5026c709bebf 100644 (file)
@@ -46,8 +46,9 @@ public:
        }
 
        void set_decode_referenced ();
+       void set_forced_reduction (boost::optional<int> reduction);
 
-       void pass ();
+       bool pass ();
        void seek (ContentTime t, bool accurate);
 
 private:
@@ -71,4 +72,5 @@ private:
        boost::shared_ptr<dcp::SoundAssetReader> _sound_reader;
 
        bool _decode_referenced;
+       boost::optional<int> _forced_reduction;
 };