Hand-apply 2ee558ec90623b570360e8e55c918b5bb37f9aac from master; various snapping...
[dcpomatic.git] / src / lib / writer.h
index 6aa0f4c1f38a28812600d6eb2f10efb521ec2f83..68ac972eec866923221185422d6f220c81afc0c0 100644 (file)
@@ -107,6 +107,10 @@ private:
        void check_existing_picture_mxf ();
        bool check_existing_picture_mxf_frame (FILE *, int, Eyes);
        bool have_sequenced_image_at_queue_head ();
+       /** maximum number of frames to hold in memory, for when we are managing
+        *  ordering
+        */
+       int maximum_frames_in_memory () const;
 
        /** our Film */
        boost::shared_ptr<const Film> _film;
@@ -133,10 +137,6 @@ private:
        /** the index of the last written frame */
        int _last_written_frame;
        Eyes _last_written_eyes;
-       /** maximum number of frames to hold in memory, for when we are managing
-           ordering
-       */
-       static const int _maximum_frames_in_memory;
 
        /** number of FULL written frames */
        int _full_written;