diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-24 22:26:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-24 22:26:13 +0100 |
| commit | 06959faf429d1118e16e71900148c1ba16118be4 (patch) | |
| tree | 41a8746cf32cff9e18b2d714e6ed130eb9f9cfd5 /src/lib/writer.h | |
| parent | 2d3092216e97c02bf715a3df19725518312a0b65 (diff) | |
Fix crash due to static initialisation order nastiness.
Diffstat (limited to 'src/lib/writer.h')
| -rw-r--r-- | src/lib/writer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h index 6aa0f4c1f..68ac972ee 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -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; |
