Don't allow the queue to get too big with REPEAT frames otherwise
[dcpomatic.git] / src / lib / writer.h
index 1e4d3b6a36f5646b78ca3f31b0755dacc87bf7cb..0e1c0e02f3e66dc5b5db6d16b9ec7c98bd5274f3 100644 (file)
@@ -103,7 +103,7 @@ public:
        void fake_write (Frame, Eyes);
        bool can_repeat (Frame) const;
        void repeat (Frame, Eyes);
-       void write (boost::shared_ptr<const AudioBuffers>);
+       void write (boost::shared_ptr<const AudioBuffers>, DCPTime time);
        void write (PlayerSubtitles subs, DCPTimePeriod period);
        void write (std::list<boost::shared_ptr<Font> > fonts);
        void write (ReferencedReelAsset asset);
@@ -117,6 +117,7 @@ private:
        bool have_sequenced_image_at_queue_head ();
        size_t video_reel (int frame) const;
        void set_digest_progress (Job* job, float progress);
+       void write_cover_sheet ();
 
        /** our Film */
        boost::shared_ptr<const Film> _film;
@@ -143,6 +144,7 @@ private:
         *  ordering
         */
        int _maximum_frames_in_memory;
+       unsigned int _maximum_queue_size;
 
        /** number of FULL written frames */
        int _full_written;