summaryrefslogtreecommitdiff
path: root/src/lib/writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-25 14:38:31 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-25 14:38:31 +0100
commite80732c66bb8907836eafeb816d695f96e063843 (patch)
tree1da686317768b3ab11228c2d7cc8715dd3ed6614 /src/lib/writer.h
parentd3bd799b42c0a29b415c2a37f6dd8196a97ee541 (diff)
5b5c36d28d07e8cd93af5a3f766fd95f2a506beb from master; increase the number of images that are kept around in memory before pushing to disk.
Diffstat (limited to 'src/lib/writer.h')
-rw-r--r--src/lib/writer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h
index 41d4d4474..e63591a8a 100644
--- a/src/lib/writer.h
+++ b/src/lib/writer.h
@@ -100,6 +100,8 @@ public:
void repeat (int f, Eyes);
void finish ();
+ void set_encoder_threads (int threads);
+
private:
void thread ();
@@ -107,10 +109,6 @@ 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;
@@ -137,7 +135,11 @@ 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
+ */
+ int _maximum_frames_in_memory;
+
/** number of FULL written frames */
int _full_written;
/** number of FAKE written frames */