diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-20 23:44:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-13 20:23:29 +0200 |
| commit | 259c976e8277879b5b8d70f66bd68591643598a5 (patch) | |
| tree | c7e14d5d0167b965bf2801ff11c009f303e2f99f /src/lib/writer.cc | |
| parent | 09a40cb0997c4fb1958cc98409613cf8dfd0d932 (diff) | |
Fix encoding, perhaps.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index dc552e6cb..fc6fb83d4 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -764,7 +764,8 @@ void Writer::set_encoder_threads (int threads) { boost::mutex::scoped_lock lm (_state_mutex); - _maximum_frames_in_memory = lrint (threads * Config::instance()->frames_in_memory_multiplier()); + /* XXX: add some to cope with the FV encoder returning lots */ + _maximum_frames_in_memory = lrint (threads * Config::instance()->frames_in_memory_multiplier()) + 32; _maximum_queue_size = threads * 16; } |
