summaryrefslogtreecommitdiff
path: root/test/threed_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-06 21:27:13 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-10 00:31:38 +0100
commit20559a1c751520ce43f9dcf9b098c8b3f61b8f1a (patch)
tree039b70d2663c275f1f30a93720df63c74711be1d /test/threed_test.cc
parentc347e71928f801f26d0ab922008023df0dbea394 (diff)
Use all cores when encoding in tests.v2.16.99v2.16.x
I think this also avoids the possibility of setting the master encoding thread count to 0 by mistake on machines that don't have many cores.
Diffstat (limited to 'test/threed_test.cc')
-rw-r--r--test/threed_test.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/threed_test.cc b/test/threed_test.cc
index 78d74add4..408cf3178 100644
--- a/test/threed_test.cc
+++ b/test/threed_test.cc
@@ -115,9 +115,6 @@ BOOST_AUTO_TEST_CASE (threed_test4)
{
ConfigRestorer cr;
- /* Try to stop out-of-memory crashes on my laptop */
- Config::instance()->set_master_encoding_threads (boost::thread::hardware_concurrency() / 4);
-
auto film = new_test_film2 ("threed_test4");
auto L = make_shared<FFmpegContent>(TestPaths::private_data() / "LEFT_TEST_DCP3D4K.mov");
film->examine_and_add_content (L);